litellm/tests/unit/llms
Emerson Gomes 4420a5ac5a
feat(vertex_ai): add Meta Muse models on Vertex AI (#50768)
* feat(vertex_ai): add native Responses support for Meta Muse models

* fix(vertex_ai): add Google Marketplace prices for Muse models

* fix(vertex_ai): normalize Muse tool choices with drop params

* fix(vertex_ai): bridge every Muse model to Responses and honor drop_params for store

Chat completions and /v1/messages now reach the Muse Responses endpoint for any vertex_ai/meta/muse-* model, including ones the cost map does not list yet. store=True now becomes store=False under drop_params instead of raising.

* fix(vertex_ai): use deployment credentials on Muse chat and messages calls

The chat-to-Responses bridge now forwards the deployment's vertex_project,
vertex_location and vertex_credentials, so chat and messages calls stop
falling back to the host's own Google identity.

Muse also answers 400 for a configured non-global vertex_location unless
drop_params is set, and drops background and previous_response_id under
drop_params instead of sending them to Vertex

* fix(vertex_ai): scope Muse bridge credentials and refuse params Muse cannot take

* fix(vertex_ai): keep the routed Muse model when extra_body names another

* fix(vertex_ai): match Muse only under meta/ and close round 3 gaps

Route only vertex_ai/meta/muse-* names to the Muse adapter, so a bare muse- name keeps its old path instead of being served with no price

Serve Responses WebSocket mode through the managed HTTP bridge, since Vertex has no wss endpoint for Muse and the native path skipped every Muse check

Keep /v1 in the URL when a custom api_base has no version path, the way the Vertex batches handler does

Answer 400 on token counting for Muse, the convention for Vertex partner models that have no count route, instead of a Vertex 404

Let Ember take PDFs, which Google's model card and a direct Vertex call allow, and fall back to vertex_ai_project when vertex_project is blank

* fix(vertex_ai): keep a gateway api_base prefix and query, and list Ember PDF input

A Muse api_base with a path prefix ending in /v1, or with a query string, lost
the prefix or the query on the way to the meta responses path. Graft the
default Vertex path under a /v1 or /v1beta1 base, and append it to any other
base path while keeping the query

muse-ember-1.0 was the only Muse row without supports_pdf_input, so
/model/info showed null for it while the bridge already forwarded PDF parts

The WebSocket test now streams a turn through the managed bridge instead of
reading a flag, and _first_set is renamed to _first_non_empty

* fix(vertex_ai): drop refused Muse reasoning efforts, serve Muse through the Codex chat bridge, accept the publisher api_base

Muse rows now mark the reasoning efforts Vertex refuses, so they answer 400 or drop under drop_params. A Muse request that asks for the chat completions bridge still reaches its Responses endpoint, and an api_base that already names the Meta publisher path keeps working

* fix(responses): keep flattened namespace tool names within 64 characters

The Responses-to-chat bridge joins a namespace and its member as {namespace}__{member}. Codex with a ChatGPT login sends MCP namespaces whose joined names run past the 64-character limit that chat providers enforce, so Vertex Muse refused the request. The bridge now shortens those names with the existing truncate_tool_name convention and maps them back to the original namespace and member in the response

* fix(responses): map a forced tool_choice on a long namespace member to its chat name

* fix(vertex_ai): drop tools Muse refuses under drop_params, keep full tool names working

Vertex Muse takes only function and namespace tools and answers 400 for web_search, local_shell, mcp and custom tools. Codex over /v1 sends web_search by default, so every Codex turn failed even with drop_params. Under drop_params those tools are now removed, and tools is dropped when none are left

Shortening bridged {namespace}__{member} names over 64 characters hid the full name from the tool policy guardrail, so a policy on it stopped matching, and from Headroom, which lost the retrieve hold-back for Responses input. Both now see the full qualified name, and Headroom pairs Responses function_call items by call_id

The same change let a top-level function named like a long namespace member through the collision check, so a forced tool_choice on it called the member instead. It also left a replayed function_call that carries the full name and no namespace pointing at a tool the model was never given. The collision check now compares both names, and replayed full names map to the shortened chat name

* fix(responses): reject namespace members that share a shortened tool name

A namespace member named after another member's shortened {namespace}__{member} name got the same chat name, so the bridge kept only one of them and a call meant for one tool went to the other. The collision check now also rejects two namespace members that map to the same chat name

* fix(vertex_ai): return Muse namespace member calls under their namespace

Muse answers a call to a namespace member as one function_call named {namespace}.{member} with no namespace field, in the JSON response and in the stream. Codex over /v1 then rejects the call as unsupported. The Muse adapter now splits that name back into its namespace and member name, but only when the request declared that namespace with that member, since Muse also accepts dotted names for top-level functions and returns them unchanged

* fix(responses): check flattened namespace name collisions only where the bridge sends them

The guardrail scan flattens namespace tools to show them to the guardrail, but the provider still receives the namespaces as declared, so a collision between shortened chat names there is not an error. Only the Responses-to-chat bridge sends the shortened names, so the collision checks now run in that transform.

* fix(responses): keep the tool a guardrail kept when tools share a chat name

A guardrail that drops one of two tools whose shortened chat names match
now keeps the survivor it returned, matched by content. A rewrite that
cannot be matched that way is rejected instead of sent unrewritten.

* fix(responses): match guardrail-kept tools by full member name and unique content

The guardrail scan sees full namespace member names again, as on the merge base, so shortened names no longer collide in the guardrail's view. When a guardrail drops one of several tools that share a chat name, the kept ones are matched by content only when exactly one alignment fits, first exactly and then ignoring descriptions and default fields, and otherwise the rewrite is rejected. Groups the guardrail did not shrink keep positional matching, and the merge computes each key once

* fix(responses): keep same-named top-level tools and replayed call names in the guardrail view

When a guardrail drops one of several same-named top-level function tools and edits another, every match sends the guardrail's own tool, so the kept one is taken in order instead of rejecting the rewrite. Namespace members still need exactly one match, since a wrong match would send a tool the guardrail dropped. Replayed function calls in the messages a guardrail sees now use the full namespace member name, the same name it sees the tool by

* fix(responses): match kept tools in any order and keep the logging_only response scan

When a guardrail shrinks a group of same-named tools, each kept tool is now matched to its original by content in any order, so a reorder no longer answers 500. When one kept tool matches several top-level twins that differ only in fields the guardrail cannot see, the guardrail's own tool is sent instead of guessing one twin. A replayed namespace member call is compared under its full name, so a message rewrite resends it as it came. In logging_only mode a request rewrite the endpoint cannot apply no longer drops the response scan

* perf(responses): group the guardrail tool merge by name once

The merge rescanned and revalidated both tool lists once per distinct tool name on every guarded Responses request, which made unchanged tool sets quadratic. It now groups positions by name in one pass, and a guardrail that drops and reorders same-name tools still maps each surviving tool to its own original.

* fix(responses): reject flattened namespace name collisions with a 400

A client-caused flattened name collision raised a bare ValueError and surfaced as a 500. It now raises BadRequestError, and the prompt caching deployment check runs the same validation again before building chat forms for its prefix key.

* fix(vertex_ai): reject tool types Muse refuses unless drop_params is set

Builtin tool types such as web_search, mcp, custom and local_shell were forwarded to Vertex when drop_params was off and failed there with a provider error. They now fail fast with UnsupportedParamsError before any request is sent, matching store, truncation, tool_choice and reasoning effort handling.

* fix(responses): reject ambiguous guardrail drops among identical tools

When two tools share one chat form and a guardrail drops one copy, the returned form cannot say which original survived, so the merge could keep the rejected member. The rewrite is now reported unappliable instead of guessing.

* fix(responses): match guardrail tools sharing a name by content before order

* fix(responses): keep full tool names in the registry and tool logs when the bridge shortens them

The Responses bridge shortens a namespace member's {namespace}__{member} name over 64 characters for the chat provider, and the proxy's success callbacks see that chat-level request and response. The bridge now logs a map from each shortened name to its full name, and the tool registry, the tool usage index and the spend event projection record the full name, as the merge base did. Also removes an unused alias for validate_namespace_name_collisions.

* fix(responses): log full tool names from the bridge without trusting request params

The bridge now keeps its shortened-to-full name map on the logging object and
re-asserts it after every request-param spread, so a client body key can no
longer rename tool registry or spend entries, and a malformed value no longer
drops tool rows or the spend event. The logged response, the standard logging
payload and logging hooks (logging_only guardrails included) see the full names
on streamed and non-streamed calls. The prompt caching check no longer runs the
flattened name collision validation, so native groups pin as they did before

* fix(vertex_ai): refuse or drop Muse namespace members Vertex rejects

* fix(responses): ignore client tool name maps and replay the names the provider saw

A tool name map in the request body of a failed request no longer renames
the spend event or the tool registry rows, since the logged map is now a
type a client cannot send.

previous_response_id replays a namespace member over 64 characters under
the shortened name the provider was sent, so Gemini no longer rejects the
follow-up turn.

Muse refuses a namespace member with no type, or drops it under
drop_params, like other members Vertex rejects.

A streamed chat completion whose Responses call comes back complete, as
with emulated file_search, is now streamed instead of failing with 500.

* fix(responses): replay tools sent in additional_tools and bill streamed file search

previous_response_id now reads the stored turn's tools with its
additional_tools items hoisted, as the bridge sent them, so a namespace
member over 64 characters that came in additional_tools replays under the
shortened name the provider saw.

A streamed chat completion whose Responses call came back complete now
bills the cost that call carries, so emulated file search charges both of
its calls instead of only the last one.

* fix(responses): replay calls to members a client tool search loaded under their sent names

A previous_response_id turn replays stored calls against the tools each stored turn was sent with, including namespaces a client tool search loaded in that turn or an earlier one. A long member's call then matches the shortened name the provider saw, so Gemini no longer gets the call twice.

* fix(responses): replay cold-stored calls under their sent names and replay tool search sessions in linear time

A spend row rebuilt from cold storage carries model_parameters.tools, the chat tools as sent to the provider, instead
of the Responses request. A stored call is now renamed to its shortened name when the provider was sent only that name,
so the replay matches the call the worker's tool call cache adds back

Each stored turn now takes the names its own client tool search loaded and layers them over a running prefix of
names that earlier turns loaded, instead of rebuilding every earlier load per turn

* fix(responses): keep replay linear and rename only cold-stored calls

Replay indexes the turn that first loaded each name once, and each turn reads it through a view, so replay time grows with the session instead of its square. Replay also skips the bridge work it does not use

A stored call is renamed to the shortened name its tools declare only when its row was rebuilt from cold storage. A hot row whose client sent its own model_parameters keeps its stored name

tool_names is optional again on extend_chat_completion_message_with_spend_log_payload, so callers written against main keep working

* fix(responses): log full tool names on the sync Responses bridge too

A synchronous litellm.responses() call bridged to chat completions skipped the map from a shortened namespace member name back to its full name, so success callbacks saw the shortened name where async calls and the merge base show the full one

* fix(responses): show per-chunk stream hooks the full name of a namespace member

Bridged streams already logged the full namespace member name on the final success event. Per-chunk log_stream_event and async_log_stream_event still got the provider chunk with the shortened name. The logging rename now covers ModelResponseStream deltas too

* fix(responses): prefer sent namespace tool names over bare-name fallbacks

* fix(vertex_ai): keep a project and location api_base on the Muse responses path

An api_base that already names /projects/<p>/locations/<l> got the whole default Vertex path appended after it, so the request went to a doubled /v1/projects/... URL that Vertex answers 404. Such a base now keeps its project and location and gets the Meta publisher responses path.

* test(responses): wait for the per-chunk hook event instead of a polling window

* test(responses): record per-chunk hook tool names in a tuple

* test(spend): wait for the logged success event instead of polling

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-21 13:00:24 -08:00
..
a2a refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
aiml chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
aiohttp_openai fix(aiohttp_openai): forward service_tier in transform_response (#47263) 2026-10-28 13:14:44 -07:00
anthropic feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08:00
apiserpent test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
aws_polly fix(aws_polly): read the engine from the bare model name (#47963) 2026-10-23 18:10:51 -07:00
azure fix(transcription): log the clip duration as usage when the provider sends none (#53256) 2026-11-20 18:30:52 -08:00
azure_ai fix(proxy): size budget reservation from route output cap fields (#51752) 2026-11-20 16:25:09 -08:00
base_llm fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
baseten fix(aiand)!: show ai&'s name and logo, and sync ai&'s model list (#49158) 2026-10-30 10:55:26 -07:00
bedrock fix(bedrock): preserve native chat content cache checkpoints (#53322) (#53370) 2026-11-21 12:15:03 -08:00
bedrock_mantle feat(messages): serve bedrock mantle messages on rust only (#52328) 2026-11-18 17:36:06 -08:00
bigmodel fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
black_forest_labs refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
brave chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
bytez test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
cerebras test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
chat fix(router): read the first stream chunk before returning so a failure before any token runs through the retry and fallback budget (#46493) 2026-10-14 14:19:25 -07:00
chatgpt refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
clarifai refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
claude_code refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
clf_ai_gateway refactor(router): route the router family through RoutingContext and close the outside surface (#49118) 2026-10-30 19:18:54 -07:00
cloudflare fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
codestral fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
codex refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
cohere fix(cohere)!: map tool_choice, reasoning_effort and json_schema response_format on the v2 chat route (#50834) 2026-11-17 18:10:37 +00:00
cometapi chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
compactifai refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
crusoe fix(crusoe): update base URL to current endpoint (#33121) 2026-10-15 19:10:58 -07:00
custom_httpx test(aiohttp): verify streaming timeouts without wall-clock delays (#53189) 2026-11-20 21:20:48 +00:00
dashscope fix(dashscope): bill 1h cache writes at the 1h rate (#52331) 2026-11-17 12:07:01 -08:00
databricks fix(anthropic)!: send extra_body fields at the top level of the Messages request (#48373) 2026-11-20 06:52:56 -08:00
dataforseo refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
datarobot test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
deepagents feat: add litellm.agent() to run claude code, codex, opencode and deep agents through the ai gateway (#43885) 2026-10-01 22:27:49 +00:00
deepgram fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:07:15 -08:00
deepinfra chore(cost-map): add Soniox v6 and date Soniox, Bedrock Claude and Azure Whisper retirements (#51620) 2026-11-13 12:37:12 -08:00
deepseek fix(proxy): count tokens with the thinking, effort, and tool_choice that inference sends (#51079) 2026-11-14 02:29:16 +00:00
docker_model_runner test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
duckduckgo chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
e2b refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
edenai feat(videos): add first-class OpenRouter video request fields (#50319) 2026-11-06 16:50:48 -08:00
elevenlabs feat(tts)!: stream audio from the provider as it arrives on /v1/audio/speech (#46222) 2026-11-17 15:03:12 +00:00
empiriolabs feat(decisions): add EmpirioLabs AI as a decisions provider (#49977) 2026-11-04 10:41:16 -08:00
exa_ai fix(exa): return highlights, highlight scores, score and the response envelope from Exa search (#47423) 2026-10-19 15:45:56 -07:00
fal_ai fix(cost-map): price eight-second Pixverse clips (#52107) 2026-11-16 12:49:55 -08:00
fastcrw fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
featherless_ai refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
firecrawl fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
fireworks_ai fix(fireworks_ai): read fractional sizes like 1p5b in the size bucket fallback (#51451) 2026-11-13 17:49:49 +00:00
friendliai fix(friendliai): drop litellm-internal message fields before sending (#45092) 2026-10-20 01:22:07 +00:00
gdc test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
gemini fix(decisions): keep systemone confidence, extra fields and proxy cost on litellm_proxy calls (#53195) 2026-11-21 12:47:10 -08:00
gigachat refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
github_copilot fix(github_copilot): explain why a Copilot call failed and how to fix it (#52352) 2026-11-18 02:31:12 +00:00
google_pse chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
gradient_ai fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
groq fix(groq): default service_tier when the reply omits it (#52431) 2026-11-18 13:17:14 -08:00
heroku fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
hosted_vllm fix(hosted_vllm): omit empty tools list from chat requests (#50812) 2026-11-09 19:49:13 -08:00
huggingface fix(huggingface): honor HUGGINGFACE_API_BASE and env endpoints for chat (#51449) 2026-11-13 10:35:34 -08:00
hyperbolic refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
inception refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
infinity chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
jina_ai fix(rerank): preserve token usage in spend logs (#49308) 2026-10-30 13:46:27 -07:00
lambda_ai test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
langflow fix(ci): stop stale CI reds, keep unit tests off the host env, retry CyberArk policy conflicts (#43294) 2026-09-26 09:25:13 -07:00
langgraph fix(streaming)!: fail a stream that ends without a finish reason (#47665) 2026-10-31 11:29:26 -07:00
laya feat: add Bespoke Nimble gateway and OSS classifier support (#44246) 2026-10-02 19:37:08 -07:00
lemonade chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
linkup fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
litellm_proxy refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
llamafile refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
lm_studio refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
manus test: migrate SDK and proxy-booting legacy CircleCI tests to their tiers (#45758) 2026-10-11 00:17:21 -07:00
meta fix(realtime)!: keep turn_detection.type when a transcript guardrail disables auto-response (#44939) 2026-10-16 15:24:40 +00:00
meta_llama refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
microsoft_365_copilot refactor(router): route the router family through RoutingContext and close the outside surface (#49118) 2026-10-30 19:18:54 -07:00
milvus test: migrate legacy unit dirs and unrun folders into tests/unit, tests/integration and tests/e2e (#45940) 2026-10-11 06:24:57 -07:00
minimax fix(minimax): forward reasoning_effort instead of dropping it (#49583) 2026-11-09 14:03:50 -08:00
mistral test(responses): align bridged system prompt expectations (#52693) 2026-11-19 00:27:35 +00:00
modelscope fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
mongodb feat(bedrock): search knowledge bases by image and return image hits (#51063) 2026-11-12 00:19:34 +00:00
moonshot feat(moonshot): add Kimi K3 and Together AI Inkling model support (#33922) 2026-11-18 16:26:14 +00:00
morph feat(morph): support open models and cached input pricing (#48676) 2026-10-27 18:06:14 -07:00
nadir test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
nebius test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
neosantara refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
nimble test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
nlp_cloud refactor(typing): clear 1141 basedpyright Any errors across 182 files (#50711) 2026-11-11 22:11:47 +00:00
novita test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
nscale test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
nvidia_nim fix(embeddings): unwrap extra_body for providers with their own embedding handlers (#51335) 2026-11-12 15:41:50 -08:00
nvidia_riva fix(nvidia_riva): send the api key exactly once by calling riva over grpc directly (#50140) 2026-11-04 18:07:31 -08:00
oci fix(fips): hash MCP advisory-lock keys with SHA-256 in fips_mode and compute the OCI body digest as a security hash (#51165) 2026-11-11 16:22:14 -08:00
ocr test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
ollama fix(ollama): log missing prompt_eval_count through verbose_logger (#52432) 2026-11-18 16:33:44 -08:00
oobabooga fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
openai feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08:00
openai_like feat(provider)!: add ResetData and stop sending OPENAI_API_KEY to keyless JSON-configured providers (#50819) 2026-11-20 22:20:25 -08:00
opencode fix(anthropic)!: send extra_body fields at the top level of the Messages request (#48373) 2026-11-20 06:52:56 -08:00
openrouter fix: raise on failed OpenRouter non-streaming completions (#50880) 2026-11-14 03:02:00 +00:00
opensandbox chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
opensearch feat(opensearch): map vector store search filters to k-NN filters and add hybrid search (#51131) 2026-11-14 03:30:55 +00:00
ovhcloud fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:07:15 -08:00
parallel_ai refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
parasail refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
pass_through fix(guardrails): exclude litellm_metadata from pass-through guardrail scan text (#48276) 2026-10-26 12:07:58 -07:00
perplexity fix(cost): bill Perplexity embeddings at the cost Perplexity reports (#53125) 2026-11-20 18:27:27 +00:00
pg_vector fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
pi fix(harness): surface Pi context compaction events (#52655) 2026-11-18 13:52:03 -08:00
publicai test: migrate tests/llm_translation into unit, integration and e2e tiers (#45759) 2026-10-11 07:58:53 +00:00
ragflow test: migrate legacy unit dirs and unrun folders into tests/unit, tests/integration and tests/e2e (#45940) 2026-10-11 06:24:57 -07:00
recraft refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
reducto test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
replicate refactor: share Replicate HTTP client factories and declare PagerDuty type alias (#51594) 2026-11-17 02:32:54 +00:00
runwayml feat(videos): add first-class OpenRouter video request fields (#50319) 2026-11-06 16:50:48 -08:00
s3_vectors refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
sagemaker fix(bedrock): send max_tokens and priority in Cohere embedding requests (#51435) 2026-11-12 23:44:08 +00:00
sail test(router_strategy): keep foreign asyncio task noise out of the budget limiter caplog asserts (#43375) 2026-10-29 06:22:06 -07:00
sambanova chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
sap fix(sap): accept list-shaped reasoning_content from Gemini 3.x (#52741) 2026-11-18 18:15:10 -08:00
scaledown feat(scaledown): add native text provider support (#44168) 2026-10-10 14:01:17 -07:00
scaleway fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:07:15 -08:00
searchapi chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
searxng chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
serper chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
snowflake fix(anthropic)!: send /v1/messages PDF documents to OpenAI-shaped providers as file parts (#47166) 2026-10-29 08:06:12 -07:00
soniox chore(cost-map): add Soniox v6 and date Soniox, Bedrock Claude and Azure Whisper retirements (#51620) 2026-11-13 12:37:12 -08:00
stability refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
strands_decider feat(strands_decider): call a Strands Decider on an AgentCore runtime ARN (#45678) 2026-10-09 22:51:19 -07:00
tavily fix(tavily): return raw_content, score, favicon and the response envelope from Tavily search (#48684) 2026-10-27 18:52:06 -07:00
tencent fix(logging): warn when drop_params drops a requested reasoning level on the remaining paths (#48933) 2026-10-30 08:48:43 -07:00
tinyfish test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
together_ai fix(together_ai): declare reasoning_effort_levels on Kimi-K3.1-Pro so max is not sent as high (#52294) 2026-11-17 08:20:41 -08:00
tool_loop feat(harness): add Harness.TOOL_LOOP, a minimal in-process tool-calling loop (#44391) 2026-10-03 17:33:01 +00:00
topaz fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
triton fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
v0 test: move the unit half of 126 mixed legacy files into tests/unit (#45090) 2026-10-07 14:07:43 -07:00
valkey test: migrate legacy provider tests to tests/unit (wave 2, phase 13) 2026-09-20 14:18:49 +00:00
vercel_ai_gateway refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
vertex_ai feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08:00
vllm fix(vllm): list hosted_vllm wildcard models when the server has no api key (#40066) 2026-11-03 04:13:28 +00:00
volcengine fix(proxy): forward limit, order, after, before and include on GET /v1/responses/{id}/input_items (#51259) 2026-11-20 07:54:26 -08:00
voyage fix(voyage): honor VOYAGE_API_BASE for embeddings (#52645) 2026-11-18 14:38:57 -08:00
wandb test: move tests/test_litellm/llms into tests/unit/llms (#43191) 2026-09-25 12:43:23 -07:00
watsonx fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:07:15 -08:00
webiq feat(search): add Microsoft Web IQ provider (#50883) 2026-11-10 22:43:36 +00:00
xai fix(xai): honor deployment image pixel pricing (#50490) 2026-11-07 02:17:16 +00:00
xinference test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
you_com test: migrate phase 14 wave 2 provider tests to tests/unit 2026-09-20 11:01:40 +00:00
zai feat(zai): support response_format and max_completion_tokens, add glm-5v-turbo pricing (#48335) 2026-10-29 20:30:50 -07:00
__init__.py test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
test_api_base_trailing_slash_routes.py fix(llms): join api_base and route with one shared helper (#47535) 2026-10-21 06:59:32 +00:00
test_cache_control_and_reasoning.py fix(minimax): forward reasoning_effort instead of dropping it (#49583) 2026-11-09 14:03:50 -08:00
test_custom_llm.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_file_content_block.py fix(prompt_templates): keep moved private helpers importable from common_utils (#50721) 2026-11-09 20:52:52 +00:00
test_file_search_responses.py refactor(prompt_templates): move JSON schema helpers out of common_utils into json_schema_utils (#50241) 2026-11-05 17:25:53 -08:00
test_get_complete_url_trailing_slash.py feat(messages): serve vertex ai claude messages on rust only (#52314) 2026-11-19 21:15:10 +00:00
test_lifecycle_fix.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_oss_decision.py feat(decisions): add Laya and Bespoke providers to the Add Model form (#45260) 2026-10-14 08:11:11 -07:00
test_polling_url_origin_match.py test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
test_predibase_transformation.py fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00
test_subscription_accounts.py feat(usage): show subscription-covered providers and account fees separately (#44772) 2026-10-30 03:58:36 -07:00