Skip to content

Backport 2369 to 0.10.x release branch - #2375

Merged
EItanya merged 1 commit into
kagent-dev:release/v0.10.xfrom
supreme-gg-gg:backport/responses-api
Jul 31, 2026
Merged

EItanya merged 1 commit into
kagent-dev:release/v0.10.xfrom
supreme-gg-gg:backport/responses-api

Conversation

@supreme-gg-gg

Copy link
Copy Markdown
Contributor

Users can now use the Responses API either directly with OpenAI or via a
gateway like AgentGateway. Here's an example with agent gateway.

```yaml
apiVersion: kagent.dev/v1alpha2
kind: ModelConfig
metadata:
  name: openai-responses
  namespace: kagent
spec:
  provider: OpenAI
  model: gpt-5.4-mini
  apiKeyPassthrough: true
  openAI:
    baseUrl: http://agentgateway-proxy.agentgateway-system.svc/openai
    apiFormat: responses # NEW! <- If not provided, uses chat completions API
```

Note that certain features from Responses API like native tools and
stateful chaining are not supported for now since they're only available
when using with OpenAI's servers. For those interested, it can be a
follow up to add those features in kagent harness.

---------

Signed-off-by: Jet Chiang <[email protected]>
Copilot AI review requested due to automatic review settings July 31, 2026 19:40
@supreme-gg-gg
supreme-gg-gg requested a review from a team as a code owner July 31, 2026 19:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@EItanya
EItanya merged commit 54a3cd9 into kagent-dev:release/v0.10.x Jul 31, 2026
31 checks passed
onematchfox added a commit to onematchfox/kagent that referenced this pull request Sep 3, 2026
Responses API is required in order to use reasoning effort with newer Open AI models.  kagent-dev#2369 (backported to `v0.10.x` in kagent-dev#2375) introduced support for use of the Responses API (configured via ModelConfig). However, that PR was strictly limited to golang agents and at present Python agents completely ignore the configuration and as such requests to a new model configured with reasoning effort will fail. This PR completes kagent-dev#2369 by ensuring that Python ADK agents also make use of the Responses API as per model configuration.

Signed-off-by: Brian Fox <[email protected]>
onematchfox added a commit to onematchfox/kagent that referenced this pull request Sep 3, 2026
Responses API is required in order to use reasoning effort with newer Open AI models.  kagent-dev#2369 (backported to `v0.10.x` in kagent-dev#2375) introduced support for use of the Responses API (configured via ModelConfig). However, that PR was strictly limited to golang agents and at present Python agents completely ignore the configuration and as such requests to a new model configured with reasoning effort will fail. This PR completes kagent-dev#2369 by ensuring that Python ADK agents also make use of the Responses API as per model configuration.

Signed-off-by: Brian Fox <[email protected]>
onematchfox added a commit to onematchfox/kagent that referenced this pull request Sep 4, 2026
Responses API is required in order to use reasoning effort with newer Open AI models.  kagent-dev#2369 (backported to `v0.10.x` in kagent-dev#2375) introduced support for use of the Responses API (configured via ModelConfig). However, that PR was strictly limited to golang agents and at present Python agents completely ignore the configuration and as such requests to a new model configured with reasoning effort will fail. This PR completes kagent-dev#2369 by ensuring that Python ADK agents also make use of the Responses API as per model configuration.

Signed-off-by: Brian Fox <[email protected]>
onematchfox added a commit to onematchfox/kagent that referenced this pull request Sep 4, 2026
Responses API is required in order to use reasoning effort with newer Open AI models.  kagent-dev#2369 (backported to `v0.10.x` in kagent-dev#2375) introduced support for use of the Responses API (configured via ModelConfig). However, that PR was strictly limited to golang agents and at present Python agents completely ignore the configuration and as such requests to a new model configured with reasoning effort will fail. This PR completes kagent-dev#2369 by ensuring that Python ADK agents also make use of the Responses API as per model configuration.

Signed-off-by: Brian Fox <[email protected]>
EItanya added a commit that referenced this pull request Sep 4, 2026
Responses API is required in order to use reasoning effort with newer
Open AI models. #2369 (backported to `v0.10.x` in #2375) introduced
support for use of the Responses API (configured via ModelConfig).
However, that PR was strictly limited to golang agents and at present
Python agents completely ignore the configuration and as such requests
to a new model configured with reasoning effort will fail. This PR
completes #2369 by ensuring that Python ADK agents also make use of the
Responses API as per model configuration.

Signed-off-by: Brian Fox <[email protected]>
Co-authored-by: Eitan Yarmush <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants