Implement Vertex Raw mode support in AI Proxy (#3375)

This commit is contained in:
woody
2026-01-21 14:45:06 +08:00
committed by GitHub
parent 3a28a9b6a7
commit a2eb599eff
4 changed files with 403 additions and 12 deletions

View File

@@ -70,6 +70,7 @@ const (
ApiNameGeminiStreamGenerateContent ApiName = "gemini/v1beta/streamgeneratecontent"
ApiNameAnthropicMessages ApiName = "anthropic/v1/messages"
ApiNameAnthropicComplete ApiName = "anthropic/v1/complete"
ApiNameVertexRaw ApiName = "vertex/raw"
// OpenAI
PathOpenAIPrefix = "/v1"