Skip to content

[BUG] No tool call found for function call output with call_id #48

@daniel-sc

Description

@daniel-sc

Bug Description
Sometimes, the following error occurs:

[openai-codex-plugin] 400 error: {"error":{"message":"No tool call found for function call output with call_id all_WwfOnsRjEskYC31dpXnfKidj.","type":"invalid_request_errBuild aOpenAIiGPT 5.1 Codex Medium (OAuth)00}}

Image

I think this is mostly after the last output / at the end of a task.

Steps to Reproduce
happens only sometimes on regular build tasks.

Expected Behavior
No error :)

Actual Behavior
see screenshot above.

Environment

  • opencode version: 1.0.110
  • Plugin version: 4.0.0
  • Operating System: Win11 / WSL2 (Ubuntu22)
  • Node.js version: 18.17.1

Logs
I have not enabled the debug flag..

Compliance Checklist
Please confirm:

  • I'm using this plugin for personal development only
  • I have an active ChatGPT Plus/Pro subscription
  • This issue is not related to attempting commercial use or TOS violations
  • I've reviewed the FAQ and Troubleshooting sections

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions