anomalyco / anomalyco/opencode
deepseek-v4-flash-vision-exp succeeds even when "Enable models hosted in China" is disabled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
With "Enable models hosted in China" disabled, I selected opencode-go/deepseek-v4-flash-vision-exp in OpenCode CLI and an inference request completed successfully.
I do not know the upstream provider or inference execution region for this model.
Please clarify whether this behavior is intentional and document the model’s inference hosting region.
If inference for this model is executed in China, please require the China-hosting opt-in.
Related issues are #39845, #39872, and #39847.
Plugins
None
OpenCode version
1.18.23
Steps to reproduce
- Subscribe to OpenCode Go.
- Open the Go settings in OpenCode CLI.
- Disable "Enable models hosted in China" and save the setting.
- Re-open OpenCode and verify that the setting remains disabled.
- Select
opencode-go/deepseek-v4-flash-vision-exp. - Send a simple text-only prompt, such as
Reply with exactly: test. - Confirm that the request completes successfully and returns a response.
Expected behavior
If inference for this model is executed in China, the request should be rejected while "Enable models hosted in China" is disabled.
If inference is executed outside China, OpenCode documentation should state the model’s actual inference hosting region.
Actual behavior
The request completed successfully while "Enable models hosted in China" was disabled.
The model’s upstream provider and inference execution region are not publicly confirmed.
Operating System
Ubuntu 22.04.5 LTS (x86_64)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OpenCode CLI Go settings and the model-selection path for opencode-go/deepseek-v4-flash-vision-exp. Confirm the model’s upstream provider and inference region, then determine whether the disabled China-hosting setting should reject the request or whether documentation should state the region. Done means the behavior matches the confirmed hosting location and is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100