Skip to content

How to pass reasoning=generate_summary for ComputerTool Agent? #698

Not planned
@ChrisDelClea

Description

@ChrisDelClea

Question

In the responses API a can pass:

        reasoning={
            "generate_summary": "concise",
        },

on create() , how to allow the agent also the return the summary?
If i follow the example i just see:

LLM resp:
[
  {
    "id": "rs_xxxx",
    "summary": [],
    "type": "reasoning",
    "status": null
  },

How to pass the param to generate the summary?

Activity

rm-openai

rm-openai commented on May 15, 2025

@rm-openai
Collaborator

You can use ModelSettings(reasoning={"generate_summary": "concise"}) on your Agent

github-actions

github-actions commented on May 23, 2025

@github-actions

This issue is stale because it has been open for 7 days with no activity.

github-actions

github-actions commented on May 26, 2025

@github-actions

This issue was closed because it has been inactive for 3 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about using the SDKstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ChrisDelClea@rm-openai

        Issue actions

          How to pass reasoning=generate_summary for ComputerTool Agent? · Issue #698 · openai/openai-agents-python