mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
- Introduced `builtin` package exposing a default registry and pipeline for built-in translators. - Added format constants for common schemas (e.g., OpenAI, Gemini, Codex). - Implemented helper functions for schema translation using format name strings. - Provided example usage for integration with translator helpers.
12 lines
334 B
Go
12 lines
334 B
Go
package translator
|
|
|
|
// Common format identifiers exposed for SDK users.
|
|
const (
|
|
FormatOpenAI Format = "openai"
|
|
FormatOpenAIResponse Format = "openai-response"
|
|
FormatClaude Format = "claude"
|
|
FormatGemini Format = "gemini"
|
|
FormatGeminiCLI Format = "gemini-cli"
|
|
FormatCodex Format = "codex"
|
|
)
|