GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bug: opencode crashes when using OpenRouter models with a colon (:) in their identifier. · Issue #749 · anomalyco/opencode Closed DescriptionThe opencode CLI tool (v0.2.4) consistently fails with an "Unexpected error" when attempting to use The issue is not with the OpenRouter API or the user's configuration, as direct API calls using curl Steps to Reproduce:
10 }
1 opencode run -m openrouter/gemini-2-flash "This is a test prompt." Expected Behavior: opencode should successfully connect to the OpenRouter API and return a response from the specified Actual Behavior: The tool immediately crashes with a generic error message. 1 > Write a short, futuristic poem about the speed of light. The log file does not contain a specific error, only showing that the tool failed during the Evidence & Verification: The issue is confirmed to be with the opencode client because a direct curl request to the same
1 curl https://openrouter.ai/api/v1/chat/completions
System Information:
Hypothesis on Root Cause: The presence of the colon (:) in the model ID string likely causes a parsing error within the Reacted by lascott, Claudiu Tatomirescu, Gavin Fuller, Thierry Pouplier, Ralf Stephan and Chindriș Mihai - Alexandru Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |