feat(ai-proxy): vLLM passthrough for Anthropic Messages and newer OpenAI endpoints (#3989)

Signed-off-by: Rand01ph <tanyawei1991@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: woody <yaodiwu618@gmail.com>
This commit is contained in:
9r0k
2026-06-23 19:34:54 +08:00
committed by GitHub
parent 1694f48fd9
commit e57f18e581
5 changed files with 236 additions and 5 deletions

View File

@@ -69,6 +69,7 @@ var (
{provider.PathOpenAIResponses, provider.ApiNameResponses},
{provider.PathOpenAIVideos, provider.ApiNameVideos},
// Anthropic style
{provider.PathAnthropicMessagesCountTokens, provider.ApiNameAnthropicCountTokens},
{provider.PathAnthropicMessages, provider.ApiNameAnthropicMessages},
{provider.PathAnthropicComplete, provider.ApiNameAnthropicComplete},
// Cohere style