-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
At compaction with latest git on a regular basis:
AI_InvalidPromptError: Invalid prompt: The messages must be a ModelMessage[]. If you have passed a UIMessage[], you can use convertToModelMessages to convert them.
Plugins
No response
OpenCode version
git
Steps to reproduce
- Use GitHub Copilot provider (Claude Opus 4.5, but does not matter) with high reasoning
- Prompt until compaction is triggered
- Repeat until the error occurs
Screenshot and/or share link
No response
Operating System
GNU/Linux
Terminal
tmux
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working