mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
- Renamed `openai` packages to `chat_completions` across translator modules. - Introduced `openai_responses_handlers` with handlers for `/v1/models` and OpenAI-compatible chat completions endpoints. - Updated constants and registry identifiers for OpenAI response type. - Simplified request/response conversions and added detailed retry/error handling. - Added `golang.org/x/crypto` for additional cryptographic functions.
11 lines
208 B
Go
11 lines
208 B
Go
package constant
|
|
|
|
const (
|
|
GEMINI = "gemini"
|
|
GEMINICLI = "gemini-cli"
|
|
CODEX = "codex"
|
|
CLAUDE = "claude"
|
|
OPENAI = "openai"
|
|
OPENAI_RESPONSE = "openai-response"
|
|
)
|