Agent use github mcp meet error
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:
- Continue version:
- IDE version:
- Model:
- config:
OR link to assistant in Continue hub:
Description
500 Error
HTTP 500 Internal Server Error from https://api.continue.dev/model-proxy/v1/chat/completions Error in Continue server: {"type":"error","error":{"type":"invalid_request_error","message":"messages.0.content.0: unexpected tool_use_id found in tool_result blocks: toolu_01Y7akuBJ7ZtsLRbTpaGde3R. Each tool_result block must have a corresponding tool_use block in the previous message."}}
To reproduce
No response
Log output
500 Error
HTTP 500 Internal Server Error from https://api.continue.dev/model-proxy/v1/chat/completions Error in Continue server: {"type":"error","error":{"type":"invalid_request_error","message":"messages.0.content.0: unexpected `tool_use_id` found in `tool_result` blocks: toolu_01Y7akuBJ7ZtsLRbTpaGde3R. Each `tool_result` block must have a corresponding `tool_use` block in the previous message."}}
@murphyXu Can you share your full config.yaml? Without this we won't have enough information to debug
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
Triaging issues and linking some that could be similar.
| Related Issues |
|---|
| #5412: 500 Error |
| #6369: Error while using Agentic mode |
| #5786: loaded mcpServers config error |
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!