🐛 What happened?
Whenever I instruct the agent to open the internal browser and correct a specific webpage using screenshots, I consistently receive this error.
🔄 Steps to reproduce
- Request the agent to: I would like you to try viewing the website using the built-in browser, in order to correct any details.
✅ What did you expect?
🖥️ Environment
- Extension version: 0.7.5
- VS Code version: 1.137.0
- Provider: OpenCode Go
- Model: glm 5.3 flash
📸 Logs or screenshots (optional)
Sorry, your request failed. Please try again.
Client Request Id: fe5bdf71-5bd6-4a1e-a24a-f9af95f8210b
Reason: OpenCode Go API request failed (422) model=glm-5.3-flash payloadBytes=949611: Error from provider (Console Go): Upstream request failed: [invalid_request_error] Input should be a valid string: OpenCodeRequestError: OpenCode Go API request failed (422) model=glm-5.3-flash payloadBytes=949611: Error from provider (Console Go): Upstream request failed: [invalid_request_error] Input should be a valid string at buildOpenCodeRequestError (/home/felocru/.vscode-server/extensions/ltmoerdani.opencode-copilot-chat-0.7.5/out/errors.js:39:12) at streamOpenCodeResponse (/home/felocru/.vscode-server/extensions/ltmoerdani.opencode-copilot-chat-0.7.5/out/transports/engine.js:320:73) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async streamChatCompletions (/home/felocru/.vscode-server/extensions/ltmoerdani.opencode-copilot-chat-0.7.5/out/transports/chatCompletions.js:26:9) at async OpenCodeProvider.provideLanguageModelChatResponse (/home/felocru/.vscode-server/extensions/ltmoerdani.opencode-copilot-chat-0.7.5/out/provider/OpenCodeProvider.js:388:13)
### 23. glm-5.3-flash
- time: 2026-09-13T13:22:57.279Z
- endpoint: chat-completions
- initiator: github.copilot-chat
- metadataSource: models.dev
- status: 422
- durationMs: 648
- ttfbMs: n/a
- totalBytes: 208
- totalEvents: 0
- tokens: prompt=n/a, completion=n/a, total=n/a, cached=n/a
- cacheHitRatio: n/a
- finishReason: n/a
- requestId: req-3f07876c
- sessionId: vscode-3938f5d5
- url: https://opencode.ai/zen/go/v1/chat/completions
- error: OpenCode Go API request failed (422) model=glm-5.3-flash payloadBytes=949611: Error from provider (Console Go): Upstream request failed: [invalid_request_error] Input should be a valid string
🐛 What happened?
Whenever I instruct the agent to open the internal browser and correct a specific webpage using screenshots, I consistently receive this error.
🔄 Steps to reproduce
✅ What did you expect?
🖥️ Environment
📸 Logs or screenshots (optional)