litellm/litellm-rust/crates/llms/src
Nate Armstrong 693dae2a86
feat(gateway): claude chat completions on vertex ai (#47101)
vertex_ai/ deployments of Claude models now serve /v1/chat/completions,
streamed and not, instead of being refused. The request is the Anthropic
chat translation built for the vertex_ai host, as Python's
VertexAIAnthropicConfig builds it on top of AnthropicConfig: capabilities
read the vertex_ai/ cost map entry first and native structured output
reads only that entry, service_tier and speed are refused or dropped with
drop_params, and the Anthropic API betas are not added. The body drops
model, carries anthropic_version vertex-2023-10-16, folds output_format
into output_config and keeps effort only for models that take it, and
names its context management and caller betas in anthropic_beta and the
anthropic-beta header, filtered to what Vertex accepts, with the web
search beta alone when there are none.

The call goes to the publisher rawPredict URL for the project and
location, regional or global, or a custom api_base or VERTEXAI_API_BASE,
with a Google access token from vertex_credentials, the environment or
ADC. Streams call streamRawPredict with stream true, alt=sse on a custom
base, decode the Anthropic events as the anthropic/ path does and hand
usage to the hooks through ReportedUsage. Every remote image is
downloaded first, since Vertex takes none by URL, and the response names
the requested model.
2026-10-19 10:44:13 -07:00
..
anthropic feat(gateway): claude chat completions on vertex ai (#47101) 2026-10-19 10:44:13 -07:00
aws_textract refactor(rust): share provider constants via llms-types and restructure AGENTS.md (#45850) 2026-10-10 16:53:35 -07:00
azure feat(gateway): full openai chat request translation for anthropic and bedrock (#47088) 2026-10-19 10:44:12 -07:00
azure_ai refactor(rust): share provider constants via llms-types and restructure AGENTS.md (#45850) 2026-10-10 16:53:35 -07:00
base_llm feat(gateway): full openai chat request translation for anthropic and bedrock (#47088) 2026-10-19 10:44:12 -07:00
bedrock feat(gateway): gemini chat completions on google ai studio and vertex ai (#47098) 2026-10-19 10:44:12 -07:00
bedrock_mantle feat(rust): add native Bedrock Claude Platform and Mantle Messages (#45908) 2026-10-11 15:55:47 -07:00
cerebras feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
cohere refactor(rust): share provider constants via llms-types and restructure AGENTS.md (#45850) 2026-10-10 16:53:35 -07:00
deepseek feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
edenai feat(rust): settle EdenAI Messages reported cost (#45698) 2026-10-12 17:39:08 -07:00
fireworks_ai feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
gemini feat(gateway): gemini chat completions on google ai studio and vertex ai (#47098) 2026-10-19 10:44:12 -07:00
groq feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
hosted_vllm feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
minimax feat(rust): support MiniMax Messages API (#45896) 2026-10-11 15:12:48 -07:00
mistral feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
nvidia_nim feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
openai feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
openai_like feat(gateway): gemini chat completions on google ai studio and vertex ai (#47098) 2026-10-19 10:44:12 -07:00
openrouter feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
perplexity feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
reducto refactor(rust): share provider constants via llms-types and restructure AGENTS.md (#45850) 2026-10-10 16:53:35 -07:00
tencent feat(rust): support Tencent Messages API (#45899) 2026-10-11 22:40:20 +00:00
together_ai feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
vertex_ai feat(gateway): claude chat completions on vertex ai (#47101) 2026-10-19 10:44:13 -07:00
xai feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
error.rs feat(gateway): Anthropic and Bedrock chat completions streaming 2026-10-19 09:59:07 -07:00
lib.rs feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00