continue icon indicating copy to clipboard operation
continue copied to clipboard

Agent use github mcp meet error

Open murphyXu opened this issue 1 year ago • 5 comments

Before submitting your bug report

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 avatar Mar 25 '25 10:03 murphyXu

@murphyXu Can you share your full config.yaml? Without this we won't have enough information to debug

sestinj avatar May 07 '25 00:05 sestinj

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.

github-actions[bot] avatar Aug 05 '25 02:08 github-actions[bot]

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

bdougie avatar Aug 08 '25 17:08 bdougie

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.

github-actions[bot] avatar Nov 08 '25 02:11 github-actions[bot]

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!

github-actions[bot] avatar Nov 18 '25 02:11 github-actions[bot]