No tool call found for function call output with call_id call_xxxxxx #3301

Closed
opened 2026-02-16 17:39:35 -05:00 by yindo · 4 comments
Owner

Originally created by @burugo on GitHub (Dec 4, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

No tool call found for function call output with call_id call_HTwVL96Xq7Y4FTxLZLkoqFK2.

[openai-codex-plugin] 400 error: {"error":{"message":"No tool call found for function call output with call_id call_HTwVL96Xq7Y4FTxLZLkoqFK2.","type":"invalid_request_error","param":"input","code":null,"status":400}}

OpenCode version

1.0.132

Steps to reproduce

I ask opencode to create a file called hello.txt,then it shows the error.
I use the plugin: "opencode-openai-codex-auth" and the model is "GPT 5.1 Codex"

By the way, If I use the model:"GPT 5.1 Codex Max Medium (OAuth)"
the UI will broken.

All of the above errors since the version "1.0.130".
If I rollback to the version 1.0.129, everything is OK.

Screenshot and/or share link

Image Image

Operating System

macOS 26.1

Terminal

wezterm

Originally created by @burugo on GitHub (Dec 4, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description No tool call found for function call output with call_id call_HTwVL96Xq7Y4FTxLZLkoqFK2. [openai-codex-plugin] 400 error: {"error":{"message":"No tool call found for function call output with call_id call_HTwVL96Xq7Y4FTxLZLkoqFK2.","type":"invalid_request_error","param":"input","code":null,"status":400}} ### OpenCode version 1.0.132 ### Steps to reproduce I ask opencode to create a file called `hello.txt`,then it shows the error. I use the plugin: "opencode-openai-codex-auth" and the model is "GPT 5.1 Codex" By the way, If I use the model:"GPT 5.1 Codex Max Medium (OAuth)" the UI will broken. All of the above errors since the version "1.0.130". If I rollback to the version `1.0.129`, everything is OK. ### Screenshot and/or share link <img width="1210" height="734" alt="Image" src="https://github.com/user-attachments/assets/81398a8f-f282-4bfe-af97-c418afd67a13" /> <img width="1210" height="734" alt="Image" src="https://github.com/user-attachments/assets/8b9807a9-54e7-4496-b5e1-95089330085c" /> ### Operating System macOS 26.1 ### Terminal wezterm
yindo added the bug label 2026-02-16 17:39:35 -05:00
yindo closed this issue 2026-02-16 17:39:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 4, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #5028: 'Call Missing content in messages: text content blocks must be non-empty' - relates to OpenAI API issues with message formatting
  • #4445: 'Using GPT 5.1 Codex via OpenAI fails on the 2nd request' - also affects the GPT 5.1 Codex model you're using
  • #1211: 'Error due to multiple tool messages with same tool_call_id' - relates to tool call ID tracking issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 4, 2025): This issue might be a duplicate of existing issues. Please check: - #5028: 'Call Missing content in messages: text content blocks must be non-empty' - relates to OpenAI API issues with message formatting - #4445: 'Using `GPT 5.1 Codex` via OpenAI fails on the 2nd request' - also affects the GPT 5.1 Codex model you're using - #1211: 'Error due to multiple tool messages with same tool_call_id' - relates to tool call ID tracking issues Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 4, 2025):

I think this relates to the codex plugin

@rekram1-node commented on GitHub (Dec 4, 2025): I think this relates to the codex plugin
Author
Owner

@burugo commented on GitHub (Dec 4, 2025):

OK,I will watich it in the plugin issues
https://github.com/numman-ali/opencode-openai-codex-auth/issues/48
and
https://github.com/numman-ali/opencode-openai-codex-auth/issues/57

@burugo commented on GitHub (Dec 4, 2025): OK,I will watich it in the plugin issues https://github.com/numman-ali/opencode-openai-codex-auth/issues/48 and https://github.com/numman-ali/opencode-openai-codex-auth/issues/57
Author
Owner

@rekram1-node commented on GitHub (Dec 4, 2025):

we fixed this on opencode side btw if u update

@rekram1-node commented on GitHub (Dec 4, 2025): we fixed this on opencode side btw if u update
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3301