adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Support for OpenAI Responses API

Open thiagosalvatore opened this issue 1 year ago • 7 comments

Describe the solution you'd like OpenAI suggests that people use responses API for new projects. LiteLLM already has support for responses API with fallback to completions API when not supported.

Are there any plans on adding support for responses API instead of chat completions api only?

thiagosalvatore avatar Oct 17 '25 20:10 thiagosalvatore

For the meantime this can be bypassed by following LiteLLM docs: https://docs.litellm.ai/docs/providers/openai#getting-reasoning-content-in-chatcompletions Edit: actually it doesn't work properly right now: https://github.com/BerriAI/litellm/issues/13780

AdamosX avatar Nov 14 '25 10:11 AdamosX

@thiagosalvatore Thank you for reporting this. I understand the request is currently under review. Please keep me posted if anything else is needed. Thanks for your patience.

klateefa avatar Nov 24 '25 14:11 klateefa

This chat-completion to responses api bridge will work for ADK? I am looking to integrate gpt 5.2 codex model in my agent. Is there any standard way @klateefa ?

iamirulofficial avatar Feb 07 '26 03:02 iamirulofficial

Plus one for this. New models like Doubao-2.0 suggest using Response API. We need Response API support for litellm.

HydrogenC avatar Mar 31 '26 11:03 HydrogenC

Is there any plan to pick this @klateefa ? Seems like its under review from almost 6 months?

jasveer-os avatar Apr 09 '26 12:04 jasveer-os

@klateefa are there any updates on this?

itsgabrielv avatar Apr 14 '26 19:04 itsgabrielv

I’ve added a compatible Base LLM implementation to handle this as part of the PR: https://github.com/google/adk-python/pull/5888

FrigaZzz avatar May 29 '26 00:05 FrigaZzz