Repository navigation
test: point the live together_ai suites at a model together still serves - #37746
Conversation
Every live together_ai call in CI has answered 503 Service unavailable since 2026-08-20, across two runs 2.5 hours apart, while Together's status page reported no incident in either window. These are real calls, not replayed cassettes: the VCR layer runs filter_non_2xx_response, so a 503 is never written to a cassette and cannot be replayed back. Qwen/Qwen2.5-7B-Instruct-Turbo does not appear anywhere on Together's monitored component list, whose Qwen entries are all Qwen3.x, so a model-level outage there would never surface as an incident. The same 503 already forced test_basic_rerank_together_ai to be skipped on a different together_ai model, so per-model 503s are an established failure mode here rather than a platform outage. openai/gpt-oss-20b is the cheapest together_ai entry that carries real pricing and the capabilities these suites exercise, at $0.05/$0.20 per 1M tokens with function calling, response schema and tool choice. Together monitors it as a served component. The retired model also carries null pricing in the cost map, which is its own liability now that unpriced models are blocked. test_multiple_deployments.py keeps the old id: it is a router fallback list that is green today, and busting its cassette to prove a point would trade a passing test for a live call this change cannot vouch for.
Greptile SummaryThe PR replaces the unavailable Together AI Qwen model with
Confidence Score: 5/5The PR appears safe to merge, with no concrete changed-code defect established in the test-only model replacements. The replacement preserves the relevant declared chat capabilities, adds valid pricing metadata, and no available evidence shows that the updated live calls violate a repository or provider contract.
|
| Filename | Overview |
|---|---|
| tests/llm_translation/test_together_ai.py | Repoints the inherited Together chat conformance suite to a priced model with equivalent relevant capability metadata. |
| tests/local_testing/test_completion.py | Repoints three live Together chat-completion scenarios, including custom-prompt and streaming coverage. |
| tests/local_testing/test_text_completion.py | Repoints the asynchronous legacy text-completion test; repository routing is valid, though live provider acceptance remains pending CI as acknowledged. |
Reviews (1): Last reviewed commit: "test: point the live together_ai suites ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Nice diagnosis in the PR body — the before/after evidence (21 failures across 3 jobs from Together's Qwen model 503ing, down to pricing/capability resolving correctly for gpt-oss-20b locally) is solid. One thing holding me back from approving as-is: |
tin-berri
left a comment
There was a problem hiding this comment.
Approving per Tin — the before/after evidence in the PR body (21 live-call failures across 3 jobs from Together's Qwen model 503ing, resolved by repointing at gpt-oss-20b with pricing/capabilities confirmed locally) is solid. Note: llm_translation_testing was still showing failing as of my last check and I wasn't able to confirm the cause via CircleCI logs — worth a follow-up look if it's still red.
TLDR
Problem this solves:
Qwen2.5-7B-Instruct-Turbois absent from their monitored componentsHow it solves it:
openai/gpt-oss-20bUser Flow
This PR touches test files only, so no end user flow changes. What changes is which together_ai model the live conformance suites call
Relevant issues
Linear ticket
Pre-Submission checklist
uv run pytest tests/test_litellm/<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)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
These are live provider calls and there is no together_ai key on my machine, so I cannot run the before and after against Together from here. The failing evidence is in CI, and CI is where the after has to be captured. What I could verify offline is recorded below
Before (02e67cd)
live together_ai calls
ci/circleci: llm_translation_testing-> 17TestTogetherAIfailures,ci/circleci: local_testing_part1-> 3,ci/circleci: local_testing_part2-> 1litellm.ServiceUnavailableError: Together_aiException - Service unavailableTestTogetherAItest that makes a live call is in that failure setcost map, run locally
litellm.get_model_info("together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo")in=0 out=0, and the raw catalog entry isinput_cost_per_token: null, output_cost_per_token: nullAfter (bf92025)
cost map, run locally
litellm.get_model_info("together_ai/openai/gpt-oss-20b")in=5e-08 out=2e-07 fc=True schema=True toolchoice=True mode=chat, so pricing and every capability these suites exercise resolvelive together_ai calls
Run triggered by the
run-cilabel on this commit: https://app.circleci.com/workflow/a1ec69c5-d91d-4db3-bf4d-c981c9512894llm_translation_testing->TestTogetherAIreturns 23 passes and 0 failures, so every live call in the class got throughlocal_testing_part1->test_completion_custom_provider_model_name,test_customprompt_together_aiandtest_completion_together_ai_streamall passlocal_testing_part2->test_async_text_completion_together_aipassesService unavailableanywhere in the run, so the 503s were the model and not the accounttest_json_response_nested_json_schemaandtest_json_response_nested_pydantic_objalso pass now, so gpt-oss-20b clears the grammar compiler limit that was failing them on 08-19llm_translation_testingis still red, ontest_azure_openai_responses_bridge, which is unrelated to together_ai and already fails the same way on the base. Same run onlitellm_internal_stagingatcc812cdf: https://app.circleci.com/workflow/e36bb1a2-ff9a-4587-ba96-7817672f1780. It is the azure sibling of the assertion #37744 corrected intest_openai.py, and it needs its own one-line changeType
✅ Test
Caveats (if any)
test_multiple_deployments.pykeeps the old id, it is green and cassette-backedllm_translation_testingis pre-existing on the base and out of scope hereFinal Attestation