Repository navigation
feat(decisions): backport the decisions and Jev follow-ups to rc/1.105.0 without the playground - #45905
Conversation
…ne translation (#45129) * feat(decisions): add the OpenAI Decisions spec types and the System One translation Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): share one DecisionsModel config and require model and usage on responses Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): rename the shared pydantic parent to DecisionsObjectBase Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(decisions): match the SDK on strict choice values and drop the invented min_length bounds Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): compose DecisionsRequest from model and body and read the translator top down Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): use the plural Decisions prefix only for the request and response envelopes Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(decisions): import assert_never from typing_extensions for Python 3.10 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 79f62db)
…and the shared HTTP handler (#45130) * refactor(decisions): dispatch /v1/decisions through provider configs and the shared HTTP handler Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(decisions): map OpenRouter connection failures to APIConnectionError and drop explanatory docstrings Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(decisions): keep APIConnectionError for unreachable deployments on every provider `_map_upstream_exception` now maps a status `_handle_error` synthesized for a non-HTTP failure to `APIConnectionError` before `exception_type` runs, so a Perplexity (openai-compatible) deployment that cannot be reached no longer answers `InternalServerError` where main answers `APIConnectionError`. Audit cells: the unreachable-deployment integration cell is parametrized over the five providers, OpenRouter connection failures are pinned on chat, stream, embeddings, decisions and the SDK, a deployment whose provider has no decisions config gets the 400 naming every supported provider, and a unit cell pins the mapper alone. The first docstring sentence of the five translation bases is dropped. --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit 0e09e99) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…list (#45335) * feat(ui): add TypeSafe and Strands Decider to the Add Model provider list * test(public_endpoints): type the provider fields helper against the route's model --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit 3a3b8ca)
…pes left dead by #45214 (#45442) #45214 routed both decision formats through the shared decisions IR in litellm/llms/base_llm/decisions/transformation.py and litellm/types/decisions.py. That left litellm/llms/base_llm/decisions/systemone.py (to_system_one_request, question_keys, to_decisions_response, the SystemOne* models and their adapter) and litellm/types/openai_decisions.py with no importer outside their own unit tests, so both modules and both test files go. Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit 0e48048)
* feat(decisions): add hosted_vllm provider Adds HostedVLLMDecisionsConfig so hosted_vllm/<served model> works on POST /v1/systemone and POST /v1/decisions against a vLLM server that serves the System One body (vllm-project/vllm#59299, after v0.31.0). vLLM only supports choice questions and rejects others, so the base decisions config gains a per-provider health_check_questions attribute and the evaluation-mode health probe sends a choice question for hosted_vllm while every other provider keeps the noul probe. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): move the hosted_vllm placeholder key to constants Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 61e5f2d)
Price-Sync: litellm-providers Co-authored-by: berriai-litellm-provider-info-sync[bot] <328147090+berriai-litellm-provider-info-sync[bot]@users.noreply.github.com> (cherry picked from commit de6a071)
…e.cost and always allow reasoning params (#45640) [partial: decisions and pass-through billing only] Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 465f20f) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…5673) * feat(azure_ai): support Microsoft-Decision-1 on the decisions API Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(azure_ai): strip project path and API suffix together in decisions base Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 2fcc780)
…ke it unless drop_params drops it (#44955) * feat(decisions): add the OpenAI Decisions spec types and the System One translation Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): share one DecisionsModel config and require model and usage on responses Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): rename the shared pydantic parent to DecisionsObjectBase Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * refactor(decisions): dispatch /v1/decisions through provider configs and the shared HTTP handler Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(decisions): map OpenRouter connection failures to APIConnectionError and drop explanatory docstrings Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(decisions): switch /v1/decisions to the OpenAI Decisions schema Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(decisions): build the usage the OpenAI response schema now requires Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(lens): ask signal questions through the OpenAI Decisions schema Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(decisions): refuse safety_identifier for System One providers unless drop_params * feat(decisions): refuse safety_identifier on providers that cannot take it unless drop_params drops it * test(decisions): cover hosted_vllm in the safety_identifier and per-provider wire tests * fix(decisions): check a System One request's safety_identifier against the provider too * fix(decisions): drop a non-string safety_identifier under drop_params A malformed safety_identifier now follows the drop_params convention in both body shapes: it answers 400 without drop_params and is dropped before the provider call with it. A string identifier on OpenAI stays on the wire either way. * fix(decisions): let /v1/decisions drop a non-string safety_identifier under drop_params The route checked the whole body before routing, so a non-string safety_identifier answered 400 even when the deployment or the body set drop_params. The route now leaves that field to the Decisions call, which knows every drop_params source * refactor(decisions): return the unsupported safety_identifier as a value and raise it in _prepare_call --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit 546402c)
… ARN (#45678) * feat(strands_decider): call a Strands Decider on an AgentCore runtime ARN A strands_decider deployment whose api_base is a bedrock-agentcore runtime ARN now calls InvokeAgentRuntime on that runtime, signed with SigV4 from the deployment's aws_* params or the default chain, reuses one session per runtime, and maps the runtime's 200 error envelopes to 400, 503, or 500 * ci: run the strands_decider unit tests in the llms job * fix(strands_decider): take the AgentCore session id from the deployment, never the caller A caller could pick the runtime session through extra_headers, and every new id starts another microVM. The session id now comes from the deployment's agentcore_runtime_session_id (banned in request bodies) or the ARN default, and caller-supplied host, x-amz-*, and x-amzn-bedrock-agentcore-runtime-* headers are not forwarded * fix(strands_decider): map runtime error replies only on AgentCore ARN calls * fix(strands_decider): sign plain decisions calls inline, off the AWS signing executor * test(strands_decider): cover AgentCore runtime ARN calls in integration wire tests --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit ed9c31c)
…45838) * docs(proxy): describe /v1/decisions and /v1/systemone in Swagger UI Add summaries, descriptions, inlined request body schemas with examples and typed 200 responses to the decision routes and their aliases, so the OpenAPI document and the lazy snapshot show both request formats Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(proxy): cap _inlined schema walk depth for the recursion check Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit bc2cc42)
…-reported cost (#45853) PR #45667 removed openrouter/typesafe/jev-1.13 from the cost map after #45640 moved OpenRouter decisions billing to usage.cost. The OpenAI-format wire test still read the removed row and raised KeyError on CircleCI integration-providers Co-authored-by: mateo <mateo@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 5894968)
…enAI shape (#45846) * feat(sdk): add litellm.systemone and trim litellm.decisions to the OpenAI shape Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * ci: run tests/unit/systemone in the core-utils unit shard Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(sdk): keep litellm.decisions(state=...) working with a DeprecationWarning Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test: make tests/unit/systemone a package Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * feat(sdk): surface the litellm.decisions(state=...) deprecation as a UserWarning Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: kerry <kerry@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 25d9b05)
…o rc/1.105.0 schema.d.ts is regenerated with npm run gen:api instead of hand-merged, the Strands logo the Add Model list imports is copied from main, and the picked tests get the import order and Final import this line's ruff asks for Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…allback checks stay isolated Ports the pytest_runtest_call hook from tests/unit/conftest.py on main (#44146). Without it the asystemone call type test picks up adecisions callbacks queued by earlier tests in the same worker Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
|
…ers to litellm.decisions.call The decision model guardrail backport (#45894) landed on the line after this branch forked and imports supported_decisions_providers from litellm.decisions.main, which #45846 replaces here. Match main by exposing it from litellm.decisions.call and point the guardrail endpoint and its test at that module. schema.d.ts and the lazy OpenAPI snapshot are regenerated on the merged tree Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fcbb022. Configure here.
| DECISIONS_ENDPOINTS: Final[Mapping[str, DecisionsProviderConfig]] = MappingProxyType( | ||
| { | ||
| "perplexity": PERPLEXITY_DECISIONS_ENDPOINT, | ||
| "typesafe": TYPESAFE_DECISIONS_ENDPOINT, |
There was a problem hiding this comment.
State field misroutes OpenAI decisions
Medium Severity
_request_fields treats any state key in kwargs as the deprecated System One format. The proxy forwards the full body into adecisions, and OpenAIDecisionRequestBody allows extra properties, so a /v1/decisions request that also includes state is handled as System One. The OpenAI questions list then fails the Mapping adapter and raises an uncaught ValidationError instead of a 400. Mixed input and state on litellm.decisions is no longer rejected.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit fcbb022. Configure here.
There was a problem hiding this comment.
Faithful pick of #45846. litellm/decisions/main.py is byte-identical to main, so this behavior ships there today and any fix lands on main first
|
@litereview greptile code-review |
✅ greptileCompleted · Some checks not run. Score: 4/5The provider and routing backport looks ready apart from one SDK validation regression. I ran 201 focused tests successfully and reproduced the exception-contract failure below
Checks and execution details
View review · Reviewed |
✅ code-reviewCompleted · Some checks not run. I'm the standards reviewer for #45905. I found no hard breaches of the documented standards in the code this PR adds. There is one borderline breach of the comment rule, several smells (all judgement calls), and one low-severity correctness bug. StandardsDocumented standards
Smells (judgement calls)
Correctness
SpecOut of scope here: I was only assigned the Standards axis. Totals: Standards has one borderline breach of the comment rule, eight smells, and one low-severity correctness bug. The worst item is the
Checks and execution details
View review · Reviewed |
| raw_response: httpx.Response, | ||
| request: DecisionsIRRequest, | ||
| ) -> DecisionsIRResponse: | ||
| payload: Final[object] = _PAYLOAD_ADAPTER.validate_json(raw_response.content) |
There was a problem hiding this comment.
Low · Non-JSON provider replies skip the decisions error wrapper
_PAYLOAD_ADAPTER.validate_json(raw_response.content) runs before the try block. A 200 response with a non-JSON body (an HTML gateway page, say) raises a raw pydantic ValidationError instead of the BaseLLMException(status_code=500, "...returned an unexpected response") the method builds for bad payloads. The raw error then goes to litellm.exception_type through _map_upstream_exception (litellm/decisions/call.py:286). Moving the parse inside the try fixes it.
payload: Final[object] = _PAYLOAD_ADAPTER.validate_json(raw_response.content)
try:
return self.parse_response(payload, request)
except ValidationError as error:
Review by code-review · Reviewed fcbb02231b28
There was a problem hiding this comment.
Faithful pick, base_llm/decisions/transformation.py is byte-identical to main. Moving validate_json inside the try lands on main first, then a follow-up pick
| pricing: Final = _pricing_for(candidate_model_keys) | ||
| response_cost: Final = ( | ||
| input_tokens * pricing.input_cost_per_token + output_tokens * pricing.output_cost_per_token | ||
| usage.cost |
There was a problem hiding this comment.
Low · OpenRouter provider-cost check duplicated as a string check in the passthrough handler
Judgement call (Primitive Obsession / Duplicated Code). Using provider-reported cost is already modelled by BaseDecisionsConfig.provider_reported_cost, which OpenRouterDecisionsConfig overrides. Here the same rule is hard-coded as custom_llm_provider == "openrouter", so the two copies can drift apart.
usage.cost
if custom_llm_provider == "openrouter" and usage.cost is not None
Review by code-review · Reviewed fcbb02231b28
There was a problem hiding this comment.
1.105 keeps the string check on purpose, main's provider_reported_cost path needs litellm_core_utils.hidden_params from #45640, which this line does not have
| return litellm.CohereRerankConfig() | ||
|
|
||
| @staticmethod | ||
| def get_provider_decisions_config(model: str, provider: LlmProviders) -> BaseDecisionsConfig | None: |
There was a problem hiding this comment.
Low · Copy-pasted provider lookup plus an if-cascade provider registry
Judgement call (Repeated Switches / Duplicated Code). get_provider_decisions_config is an eight-branch if provider == ... chain. The string-to-LlmProviders lookup that feeds it is copied in litellm/decisions/call.py:97 and litellm/litellm_core_utils/health_check_helpers.py:41. One shared map would replace all three.
provider: Final = next((member for member in LlmProviders if member.value == custom_llm_provider), None)
Review by code-review · Reviewed fcbb02231b28
There was a problem hiding this comment.
Judgement call on code main carries today, plus a Databricks branch there. A provider map refactor lands on main first, this backport ships merged picks
| ) | ||
|
|
||
|
|
||
| async def asend(call: DecisionsCall) -> DecisionsResponse | OpenAIDecisionResponse: |
There was a problem hiding this comment.
Low · Sync and async decisions paths are copies of each other
Judgement call (Duplicated Code). send and asend are the same apart from await. The same is true of systemone/asystemone in litellm/systemone/main.py, decisions/adecisions in litellm/decisions/main.py, and the handler methods in llm_http_handler.py. The thin _prepare_*_call wrappers also just pass the same six-parameter group on to prepare_call (Middle Man / Data Clumps).
def send(call: DecisionsCall) -> DecisionsResponse | OpenAIDecisionResponse:
try:
response: Final = _HANDLER.decisions(
Review by code-review · Reviewed fcbb02231b28
There was a problem hiding this comment.
Judgement call, call.py is byte-identical to main. Deduplicating send and asend is a main refactor, out of scope for a release-line backport
|
|
||
|
|
||
| class AzureAIDecisionsConfig(BaseDecisionsConfig): | ||
| """Microsoft Foundry decision models (Microsoft-Decision-1), where model is the deployment name""" |
There was a problem hiding this comment.
Low · Docstrings that just restate the code
AGENTS.md says not to write comments unless they are absolutely necessary to explain complex business logic. The new class docstring here, and the rewritten OpenrouterConfig.get_supported_openai_params docstring ("Include reasoning parameters regardless of model-map capabilities."), only repeat what the code already says.
"""Microsoft Foundry decision models (Microsoft-Decision-1), where model is the deployment name"""
Review by code-review · Reviewed fcbb02231b28
There was a problem hiding this comment.
Faithful pick, the docstring is identical on main. Trimming it belongs on main first, this backport only carries merged code
| ) -> RequestFields: | ||
| if "state" not in kwargs: | ||
| return OpenAIDecisionRequestFields( | ||
| input=decision_input, questions=_OPENAI_QUESTIONS_ADAPTER.validate_python(questions) |
There was a problem hiding this comment.
Low · Map field validation failures to BadRequestError
Calling adecisions(model="typesafe/jev-1.13", input="review", questions=[7], api_key="test-key") now raises a raw Pydantic ValidationError without a status code. _request_fields validates before entering prepare_call's error mapping, so SDK callers catching litellm.BadRequestError miss this failure. The previous implementation converted request-validation failures to BadRequestError. Move these validations inside that mapping or catch and translate them here
A local reproducer failed its isinstance(error, litellm.BadRequestError) assertion; the traceback points to _OPENAI_QUESTIONS_ADAPTER.validate_python on line 36
Review by greptile · Reviewed fcbb02231b28
There was a problem hiding this comment.
Faithful pick of #45846, litellm/decisions/main.py is byte-identical to main, so this behavior ships there today and any fix lands on main first


TLDR
Backports the decisions and Jev work merged on main since #45189 onto rc/1.105.0, without the decisions playground, so the 1.105.0 rc serves every decisions provider and SDK shape the launch ships with
Problem this solves:
litellm.systemoneusage.costHow it solves it:
git cherry-pick -x, adapted where rc/1.105.0 lacks what they build onschema.d.tson the line instead of merging the generated file by handUser Flow
Before: a proxy admin on 1.105.0 cannot route a decisions request to a hosted vLLM or Azure decider
hosted_vllm/my-deciderorazure_ai/Microsoft-Decision-1to the config and start the proxyAfter: the same request is answered, and the new providers show up everywhere the old ones did
usageblock, billed at the line's price for that modellitellm.systemone(...)andlitellm.decisions(...)work from the SDK with the same shapes as mainPicks
Skipped on purpose
ai_decideand the auto-router decider need the Laya and Bespoke classifier work (feat: add Laya gateway and OSS classifier providers #43626, feat: add Bespoke Nimble gateway and OSS classifier support #44246, fix(auto-router): separate tuning and select chained heuristic #44928) that is not on the linetests/integration/translationrunnerAdaptations on this line
_get_httpx_clientname and itsDecisionsIRRequestflow, with the AgentCore signing from feat(strands_decider): call a Strands Decider on an AgentCore runtime ARN #45678 on toplitellm_core_utils.hidden_params, which the line does not have; the decisions and pass-through billing fromusage.costis intests/unit/decisions/test_main.pyare dropped with feat(decisions): add Databricks ai_decide as a /v1/decisions provider and auto-router decider #45200tests/unit/conftest.pygets the per-test logging worker flush from main (perf(ci): isolate and shard integration suites #44146), without which the new systemone callback test sees callbacks queued by earlier testsui/litellm-dashboard/src/lib/http/schema.d.tsis regenerated withnpm run gen:api, and the Strands logo is copied from mainsupported_decisions_providersfromlitellm.decisions.main, which feat(sdk): add litellm.systemone and trim litellm.decisions to the OpenAI shape #45846 replaces; as on main it now lives inlitellm.decisions.calland the guardrail endpoint and its test import it from there, in the merge commit fcbb022Testing
tests/unit/decisions,tests/unit/systemone,tests/unit/proxy/decisions_endpoints,tests/unit/proxy/public_endpoints, the strands_decider, openrouter, azure_ai and hosted_vllm provider tests,tests/unit/proxy/auth/test_auth_utils.pyandtests/unit/test_cost_map_guard.py: 146 decisions and systemone tests plus the provider suites pass on this branchprovider_info_helpers.test.tsx: 76 passed, no type errorsScreenshots / Proof of Fix
Live /qa leg at this tip (fcbb022) against the merge base (495288a): two proxies booted from clean worktrees with
--num_workers 2, their own Postgres and Redis, real TypeSafe, OpenRouter and Azure AI Foundry keys from the shared vault, real spend. Full command and output log in the QA record kept with the run; the flips a user sees:Two picks could not be exercised live and are blocked, not mocked: hosted_vllm (no vLLM server; the route now resolves the provider and fails on connect instead of 400 unknown provider) and the Strands Decider AgentCore call (no AgentCore runtime ARN credential in the shared vault; its request-body rejection is proven above)
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Type
🆕 New Feature
Caveats (if any)
Medium
databricks/...decisions requests still return the unknown provider 400usage.costLow
safety_identifieron a provider that cannot take it is now a 400 unlessdrop_paramsdrops itFinal Attestation