Download internal/constant/constant.go from shimen/API: direct link, hf CLI and curl.
- Browser
- Download file 865 Bytes
-
https://huggingface.co/spaces/shimen/API/resolve/main/internal/constant/constant.go
- Command line
-
hf download hf://spaces/shimen/API/internal/constant/constant.go
-
curl -L -o constant.go https://huggingface.co/spaces/shimen/API/resolve/main/internal/constant/constant.go
865 Bytes
| // 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" | |
| // GeminiCLI represents the Google Gemini CLI provider identifier. | |
| GeminiCLI = "gemini-cli" | |
| // 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" | |
| ) | |