Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Error code: 400 "No tool output found for function call" #673

Copy link
Copy link
Open
@fsuchan

Description

@fsuchan
Issue body actions

Please read this first

  • Have you read the docs? Agents SDK docs
    • Yes
  • Have you searched for related issues? Others may have faced similar issues.
    • Yes

Describe the bug

When adding previous_response_id to Runner.run, I receive this error:

Error getting response: Error code: 400 - {'error': {'message': 'No tool output found for function call call_***.', 'type': 'invalid_request_error', 'param': 'input', 'code': None}}. (request_id: req_***)

Here's the code of the runner, previous_response_id is definitely correct, when I throw in a random string there I get a different error stating it's invalid.

result = await Runner.run(
    starting_agent=orchestrator_agent,
    input=prompt,
    context=context,
    previous_response_id=req.message.previous_response_id, # <- Added here
)

Orchestrator calls other agents which themselves have access to various tools/functions. All works fine until I add previous_response_id.

Debug information

  • Agents SDK version: v0.0.14
  • Python version 3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.