Fixed bug #38
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled

Add support for API key indexing in OpenAI compatibility clients

- Updated `NewOpenAICompatibilityClient` to accept `apiKeyIndex` for managing multiple API keys.
- Modified client instantiation loops to initialize one client per API key.
- Adjusted client ID format to include `apiKeyIndex` for unique identification.
- Removed API key rotation logic within `GetCurrentAPIKey`.
- Updated `.gitignore` to include `AGENTS.md`.
This commit is contained in:
Luis Pater
2025-09-08 22:36:44 +08:00
parent f9f2333997
commit 99c9f3069c
4 changed files with 25 additions and 18 deletions
+1
View File
@@ -3,3 +3,4 @@ docs/*
logs/*
auths/*
!auths/.gitkeep
AGENTS.md