litellm/tests/unit/integrations
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
..
arize refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
azure_storage fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
bitbucket refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
clickhouse feat(lens): treat Lens's own calls as ordinary calls labeled lens-signals and remove x-lens-internal (#53163) 2026-11-20 13:01:03 -08:00
cloudzero test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
code_interpreter_interception fix(tool_choice): accept the Responses API's flat allowed_tools layout on chat completions (#50467) 2026-11-10 13:04:06 -08:00
compression_interception perf(token_counter): memoize token counts of long texts per tokenizer (#51904) 2026-11-16 19:21:55 +00:00
custom_logger_v2 feat(spend-logs): rust spend log callback (#52182) 2026-11-20 16:31:04 -08:00
datadog fix(datadog): send DD_TAGS on Datadog logs and LLM Observability spans (#52415) 2026-11-18 20:27:30 +00:00
dotprompt refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
email_alerting feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
focus feat(focus): upgrade FOCUS export to the 1.5 Cost and Usage schema (#52105) 2026-11-16 15:43:15 -08:00
gcs_bucket fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
gcs_pubsub fix(caching): preserve otel cache hits and align logging metadata (#52971) 2026-11-19 16:25:26 -08:00
generic_api fix(logging): reuse the cached GenericAPILogger so config reloads stop leaking flush tasks (#50879) 2026-11-17 19:23:31 +00:00
gitlab refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
helicone test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
langfuse fix(otel v2): stop legacy langfuse loggers sending to refused key/team hosts (#51344) 2026-11-16 11:34:20 -08:00
lens feat(lens): strip agent harness context from what the gateway sends Lens (#53226) 2026-11-21 12:16:58 -08:00
levo
litellm_agent
mavvrik_focus refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
newrelic fix(anthropic)!: do not surface server_tool_use as client tool_calls (#48385) 2026-11-06 03:54:34 -08:00
open_telemetry refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
opik refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
otel fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
pointfive chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
prompt_cache_alerts test: stabilize the flaky prompt cache detector unit tests (#52671) 2026-11-18 14:47:18 -08:00
s3_v2_golden fix(caching): preserve otel cache hits and align logging metadata (#52971) 2026-11-19 16:25:26 -08:00
SlackAlerting feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
ternary feat(focus): add ternary destination for FOCUS export (#46106) 2026-10-12 22:52:40 -07:00
vantage chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
vector_store_integrations ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
websearch_interception fix(openai): cap and bill web search rounds on Responses-pinned chat completions (#51802) 2026-11-14 14:36:10 -05:00
zerobus test(zerobus): move tests into active CI selection (#43235) 2026-09-25 23:35:15 +00:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
conftest.py fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
rubrik_test_helpers.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
s3_v2_rust_support.py refactor(s3-log): move the rust-backed s3 logger from s3_v3 to s3_v2 (#51893) 2026-11-14 22:24:23 -08:00
test_agentops.py fix(caching): key cached async clients by a per-loop token instead of id(loop) (#48877) 2026-10-29 13:14:48 -07:00
test_anthropic_cache_control_hook.py feat(messages): serve bedrock claude_platform messages on rust only (#52681) 2026-11-19 14:34:02 -08:00
test_argilla.py chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
test_athina.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_azure_sentinel.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_braintrust_logging.py test: move routing, caching and callback tests out of local_testing (#45761) 2026-10-10 09:33:09 -07:00
test_braintrust_span_name.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_custom_callback_input.py test: move routing, caching and callback tests out of local_testing (#45761) 2026-10-10 09:33:09 -07:00
test_custom_guardrail.py feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08:00
test_custom_guardrail_post_call_once.py feat(custom-logger-v2): add types, dispatcher and route callback call sites (step 0) (#51214) 2026-11-13 22:08:05 +00:00
test_custom_guardrail_recursion.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_custom_logger.py feat(custom-logger-v2): add types, dispatcher and route callback call sites (step 0) (#51214) 2026-11-13 22:08:05 +00:00
test_custom_prompt_management.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
test_customer_budget_webhook.py fix(proxy): alert on customer org, customer team, and customer member budgets (#51579) 2026-11-13 09:16:33 -08:00
test_deepeval.py fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
test_dynamodb.py fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
test_email_alerting.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_galileo.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_guardrail_logging_sync.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_helicone.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_humanloop.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_lago.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_langfuse.py fix(logging): mark mirrored silent_model calls with is_silent_experiment in spend logs (#48888) 2026-10-29 05:12:50 -07:00
test_langfuse_otel.py fix(otel v2): stop legacy langfuse loggers sending to refused key/team hosts (#51344) 2026-11-16 11:34:20 -08:00
test_langsmith.py test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
test_langsmith_init.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_langtrace.py fix(otel): serialize pydantic Message objects in langfuse_otel, weave_otel and langtrace (#46845) 2026-11-10 14:50:39 -08:00
test_lunary.py fix(anthropic)!: do not surface server_tool_use as client tool_calls (#48385) 2026-11-06 03:54:34 -08:00
test_mlflow.py test(unit): wait on the work itself instead of fixed sleeps (#46261) 2026-10-13 12:41:06 -07:00
test_openmeter.py fix(spend)!: save streamed /v1/responses spend rows under the encrypted resp_ id the client received (#49493) 2026-11-02 14:13:17 -08:00
test_opentelemetry.py fix(otel): emit a span for every failed retry and fallback attempt (#50310) 2026-11-17 14:38:25 -08:00
test_opentelemetry_dynamic_imports.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_opentelemetry_request_spans.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_opik_utils.py refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
test_otel_guardrail_violation_spans.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_otel_team_attributes_matrix.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_performance_alert_notifications.py feat(alerts): add management controls and opt-in daily summaries (#51418) 2026-11-12 10:06:07 -08:00
test_posthog.py test: move whole-unit legacy test files into tests/unit and delete dead skips (#44807) 2026-10-07 05:02:28 +00:00
test_prefix_block_hashes.py feat(proxy): opt-in prefix block hashes in spend logs for workload replay (#52120) 2026-11-16 22:52:42 -08:00
test_prometheus_api_promql_escape.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_budget_metric_guard.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_budget_metrics_db_lookups.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_prometheus_budget_metrics_timeout.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_cache_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_caller_identity.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_carried_budget_state.py refactor(redis): move per-request miss, settlement and shutdown-drain tracking from Python into Rust (#51384) 2026-11-20 17:57:37 +09:00
test_prometheus_client_ip_user_agent.py feat(prometheus): expose per-project per-model rate limit allowed and used gauges (#43561) 2026-10-08 12:03:29 -05:00
test_prometheus_custom_metadata_label_counts.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_deployment_state_proxy_rejects.py fix(proxy)!: answer 400 for malformed tools on count_tokens instead of crashing (#46583) 2026-10-16 14:57:53 -07:00
test_prometheus_end_user_cardinality.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_input_sequence_length_label.py feat(ui): add auto-router usage and savings table (#45152) 2026-10-07 15:04:07 -07:00
test_prometheus_invalid_key_filtering.py feat(github_copilot): support GitHub App authentication with PEM upload (#51427) 2026-11-14 10:33:20 -05:00
test_prometheus_labels.py feat(dynamic_rate_limiter_v3): prometheus share, borrowed and throttle metrics per team and model (#51417) 2026-11-12 15:28:51 -08:00
test_prometheus_mcp_tool_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_media_generation_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_metric_name_consistency.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
test_prometheus_metrics_endpoint.py test(unit): wait on the work itself instead of fixed sleeps (#46261) 2026-10-13 12:41:06 -07:00
test_prometheus_missing_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_none_metadata.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_overhead_with_guardrails.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_queue_guardrail_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_rate_limit_labels.py fix(prometheus): skip custom metadata labels a metric already carries (#46267) 2026-10-13 18:20:52 -07:00
test_prometheus_remaining_tokens_router_fallback.py refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
test_prometheus_requested_model_cardinality.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_series_cardinality.py feat(prometheus): cap series per metric for every labeled metric (#44420) 2026-10-06 01:28:44 +00:00
test_prometheus_service_tier_label.py fix(bedrock): answer 400 for service tiers Bedrock cannot serve, forward reserved (#50516) 2026-11-14 01:33:57 +00:00
test_prometheus_services.py test: move routing, caching and callback tests out of local_testing (#45761) 2026-10-10 09:33:09 -07:00
test_prometheus_spend_capture_rate.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_spend_logs_metadata.py fix(logging): mark mirrored silent_model calls with is_silent_experiment in spend logs (#48888) 2026-10-29 05:12:50 -07:00
test_prometheus_stream_label.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_token_detail_metrics.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prometheus_user_team_metrics.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_prometheus_zero_cost_metric.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_prompt_layer.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_prompt_manager_ssti.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_responses_background_cost.py fix(responses): send the billed background response cost to the creating key's and team's loggers (#47506) 2026-10-20 23:22:21 +00:00
test_rubrik.py feat(customer portal): set budgets per customer and gateway app (#52477) 2026-11-18 17:31:03 +00:00
test_s3.py feat(s3_v2): add s3_partition_granularity option for hourly S3 folders (#43748) 2026-10-01 11:00:21 -07:00
test_s3_v2_native.py test: fix four flaky router and s3 log unit tests (#53034) 2026-11-20 18:27:51 +00:00
test_s3_v2_rust.py test(s3): prove non-retryable uploads settle without extra puts (#53229) 2026-11-21 00:33:29 +00:00
test_s3_v2_strip_writer.py refactor(s3-log): move the rust-backed s3 logger from s3_v3 to s3_v2 (#51893) 2026-11-14 22:24:23 -08:00
test_shadow_eval_logger.py feat(shadow-eval): add optional rubric grades (#52321) 2026-11-17 12:04:31 -08:00
test_sqs.py test: migrate SDK and proxy-booting legacy CircleCI tests to their tiers (#45758) 2026-10-11 00:17:21 -07:00
test_wandb.py refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
test_weave_otel.py fix(otel): serialize pydantic Message objects in langfuse_otel, weave_otel and langtrace (#46845) 2026-11-10 14:50:39 -08:00