mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-07 00:24:17 +08:00
- Introduced API handlers and executor logic for Google Interactions - Added request and response transformations for OpenAI and Claude Interactions. - Integrated Gemini API with Interactions support. - Updated tests to validate Interactions request parsing and error handling. - Refactored translator logic for Interactions data flows.
31 lines
1012 B
Go
31 lines
1012 B
Go
// Package constant defines provider name constants used throughout the CLI Proxy API.
|
|
// These constants identify different AI service providers and their variants,
|
|
// ensuring consistent naming across the application.
|
|
package constant
|
|
|
|
const (
|
|
// Gemini represents the Google Gemini provider identifier.
|
|
Gemini = "gemini"
|
|
|
|
// GeminiInteractions represents the native Google Interactions API provider identifier.
|
|
GeminiInteractions = "gemini-interactions"
|
|
|
|
// Codex represents the OpenAI Codex provider identifier.
|
|
Codex = "codex"
|
|
|
|
// Claude represents the Anthropic Claude provider identifier.
|
|
Claude = "claude"
|
|
|
|
// OpenAI represents the OpenAI provider identifier.
|
|
OpenAI = "openai"
|
|
|
|
// OpenaiResponse represents the OpenAI response format identifier.
|
|
OpenaiResponse = "openai-response"
|
|
|
|
// Antigravity represents the Antigravity response format identifier.
|
|
Antigravity = "antigravity"
|
|
|
|
// Interactions represents the Google Interactions API format identifier.
|
|
Interactions = "interactions"
|
|
)
|