Skip to content

openai provider 无法执行 shell 命令 #7615

@brookate

Description

@brookate

Description

这边是我的配置

dell➜  ~ cat .config/opencode/opencode.json
{
  "$schema": "https://opencode.ai/config.json",
	"permission": "allow",
  "provider": {
    "codex": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://code.ppchat.vip/v1",
        "apiKey": "{env:OPENAI_API_KEY}"
      },
      "models": {
        "gpt-5.2": {
          "name": "GPT-5.2"
        }
      }
    }
  }
}
Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Linux

Terminal

terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions