WeKnora/internal/models/provider
Thibault Jaigu 35b92f73aa feat(provider): add Requesty as an OpenAI-compatible model provider
Requesty is an OpenAI-compatible LLM gateway that uses the same provider/model
naming convention as OpenRouter, so this mirrors the existing OpenRouter provider.

- internal/models/provider/requesty.go: RequestyProvider mirroring openrouter.go
  (base URL https://router.requesty.ai/v1, REQUESTY_API_KEY, RequiresAuth)
- provider.go: ProviderRequesty const + AllProviders() entry + DetectProvider case
- internal/types/model.go + client/model.go: ModelSourceRequesty
- provider_test.go: TestRequestyProviderValidation + DetectProvider case
- frontend model editor + i18n (en/zh/ko/ru) + docs/BUILTIN_MODELS.md provider list
- docs/swagger.{json,yaml} + docs.go: requesty enum value (hand-edited to match; these
  are normally swag-generated)

Verified: go build/vet/test pass; live call to https://router.requesty.ai/v1 succeeds.
Signed-off-by: Thibault Jaigu <thibault.jaigu@gmail.com>
2026-07-13 17:03:23 +08:00
..
aliyun.go feat(asr): add ASR model connection check and update related components 2026-04-02 21:27:27 +08:00
anthropic.go feat: support Anthropic chat provider 2026-05-12 17:33:16 +08:00
azure_openai.go feat: add Azure OpenAI provider registration with metadata 2026-04-09 19:19:25 +08:00
deepseek.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
gemini.go fix(embedding): support native Gemini embeddings 2026-06-02 21:37:58 +08:00
generic.go feat(asr): integrate Automatic Speech Recognition (ASR) support 2026-04-02 21:27:27 +08:00
gpustack.go feat(asr): integrate Automatic Speech Recognition (ASR) support 2026-04-02 21:27:27 +08:00
hunyuan.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
jina.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
lkeap.go feat(lkeap): integrate Tencent Cloud LKEAP Rerank support 2026-06-04 17:22:18 +08:00
longcat.go feat:add several mainstream model providers 2026-01-09 11:08:57 +08:00
mimo.go feat:修改小米模型域名 2025-12-30 18:13:08 +08:00
minimax.go feat: add MiniMax-M3 to provider model list 2026-06-02 21:38:30 +08:00
modelscope.go feat:add several mainstream model providers 2026-01-09 11:08:57 +08:00
moonshot.go fix(moonshot): pin temperature=1 for models that reject other values moonshot-v1-* and kimi-k2.5/k2.6 reject any temperature ≠ 1 with HTTP 400. Detect these models in BuildChatCompletionRequest and force Temperature=1 while leaving kimi-k2/k2-turbo/k2-thinking unaffected. 2026-05-18 21:28:40 +08:00
novita.go feat: upgrade MiniMax models from M2.1 to M2.7 2026-03-26 18:51:25 +08:00
nvidia.go refactor: use unified NVIDIA API for both chat and VLM 2026-03-30 10:38:50 +08:00
openai.go fix(chat): map MaxTokens to MaxCompletionTokens for GPT-5/o-series 2026-05-13 00:40:35 +08:00
openai_test.go fix(chat): map MaxTokens to MaxCompletionTokens for GPT-5/o-series 2026-05-13 00:40:35 +08:00
openrouter.go fix: add OpenRouter embedding provider support 2026-03-20 15:50:42 +08:00
provider.go feat(provider): add Requesty as an OpenAI-compatible model provider 2026-07-13 17:03:23 +08:00
provider_test.go feat(provider): add Requesty as an OpenAI-compatible model provider 2026-07-13 17:03:23 +08:00
qianfan.go feat:add several mainstream model providers 2026-01-09 11:08:57 +08:00
qiniu.go feat:add several mainstream model providers 2026-01-09 11:08:57 +08:00
requesty.go feat(provider): add Requesty as an OpenAI-compatible model provider 2026-07-13 17:03:23 +08:00
siliconflow.go feat(asr): integrate Automatic Speech Recognition (ASR) support 2026-04-02 21:27:27 +08:00
volcengine.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
weknoracloud.go feat(weknoracloud): implement credential management and status checks 2026-04-14 17:36:01 +08:00
zhipu.go fix(zhipu): correct Embedding BaseURL to match API structure 2026-01-25 16:53:49 +08:00