Skip to content

wsl环境,配置volcengine-plan的模型,opencode无法收到响应 #17501

@lmxsoft

Description

@lmxsoft

Description

相同的项目配置,opencode.json配置的火山引擎的codingplan模型;
在wsl环境中,不响应,但在windows环境中是可以响应的。

就只有火山引擎的codingplan模型存在这个问题。换其他供应商的模型是没有这个问题的。

Plugins

No response

OpenCode version

1.2.26

Steps to reproduce

1.使用火山引擎的codingplan模型
{
"volcengine-plan": {
"npm": "@ai-sdk/openai-compatible",
"name": "Volcano Engine",
"options": {
"baseURL": "https://ark.cn-beijing.volces.com/api/coding/v3",
"apiKey": "xxxx"
},
"models": {
"ark-code-latest": {
"name": "ark-code-latest"
}
}
}
}
2.wsl环境下提问,不响应;windows环境下正常响应。

Screenshot and/or share link

No response

Operating System

window11

Terminal

Windows Terminal + wsl(Ubuntu)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions