mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| interactions.openapi.json | ||
| test_agents_http_handler.py | ||
| test_agents_main_and_utils.py | ||
| test_background_cost_polling.py | ||
| test_gemini_interactions_transformation.py | ||
| test_interactions_streaming_iterator.py | ||
| test_litellm_responses_bridge.py | ||
| test_main.py | ||
| test_openapi_compliance.py | ||