35b92f73aa
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>
741 KiB
741 KiB