litellm - 💡(How to fix) Fix [Bug]: responses api: Session continuation only works after 10 secs

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Make a Responses request with for example a Gemini model Keep that response ID and before 10 secs try to keep the conversation Fail Repeat with OpenAI Works (because OpenAI store messages in her side)

RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

For non OpenAI providers (which lacks of a native response API endpoint) you have to wait about 10 secs (the time that LiteLLM waits to add logs to S3) to be able to retrieve old messages and keep the conversations.

This makes unusable for chat apps, or some fast processing apps.

Steps to Reproduce

Make a Responses request with for example a Gemini model Keep that response ID and before 10 secs try to keep the conversation Fail Repeat with OpenAI Works (because OpenAI store messages in her side)

Relevant log output

What part of LiteLLM is this about?

Proxy

What LiteLLM version are you on ?

v1.85.1

Twitter / LinkedIn details

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: responses api: Session continuation only works after 10 secs