litellm/tests/unit/interactions
mateo-berri 04a318726f fix(interactions): forward continuation_token and handle requires_continuation for long decodes
Google's Interactions API cuts a long unary decode short with a new
requires_continuation status and a continuation_token that the client sends
back on a new create to resume. The proxy refused a stateful resume for a
missing input and dropped the token on a store=false resume, so the answer
restarted.

Add the status and token to the generated types, forward the token to Google
AI Studio and Vertex, skip the input check when a create carries a token,
reject the token for bridged providers unless drop_params is set, treat
requires_continuation as a finished interaction with output in cost polling,
and refresh the vendored spec snapshot.
2026-10-30 06:30:00 -07:00
..
__init__.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
conftest.py test(interactions): read the spec from a vendored snapshot and canary the live one daily (#48002) 2026-10-23 17:20:40 +00:00
interactions.openapi.json fix(interactions): forward continuation_token and handle requires_continuation for long decodes 2026-10-30 06:30:00 -07:00
test_agents_http_handler.py fix(gemini)!: accept Google's current Managed Agents fields on create and interactions (#48750) 2026-10-28 12:37:59 -07:00
test_agents_main_and_utils.py fix(gemini)!: accept Google's current Managed Agents fields on create and interactions (#48750) 2026-10-28 12:37:59 -07:00
test_background_cost_polling.py fix(interactions): keep background interaction bills through crashes, late restarts, and deployment keys (#45743) 2026-10-16 12:00:08 +00:00
test_gemini_interactions_transformation.py feat(gemini)!: auto-continue gemini-4-argon long decodes with continuationToken (#46240) 2026-10-15 22:54:23 +00:00
test_interactions_streaming_iterator.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_litellm_responses_bridge.py test: catch regressions in the validation lines #44798 added (#47420) 2026-10-20 01:06:37 +00:00
test_main.py fix(interactions): forward continuation_token and handle requires_continuation for long decodes 2026-10-30 06:30:00 -07:00
test_openapi_compliance.py fix(interactions): forward continuation_token and handle requires_continuation for long decodes 2026-10-30 06:30:00 -07:00