You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirrored from upstream 1jehuang/jcode — Pull Request #102 by @angziii
Original state: open
Created: 2026-05-02T19:54:26Z · Updated: 2026-05-02T19:54:30Z
Diff: https://github.com/1jehuang/jcode/pull/102.diff
This issue is an auto-mirrored copy. Comments and edits here are local to quangdang46/jcode — do not expect them to propagate upstream.
Summary
Two small fixes:
1. Add DeepSeek to context limit fallback (fixes #87)
DeepSeek V4 models support a 1M token context window, but fallback_context_limit_for_model() had no entry for them. Direct DeepSeek API users were capped at the 200k default instead of getting the full 1M context.
The setup_url for these profiles pointed to opencode.ai/docs/providers, which was confusing for jcode users who saw opencode documentation links in jcode's UI. Changed to point to the jcode installation docs.
Changes
src/provider/models.rs: +4 lines for deepseek 1M context
Summary
Two small fixes:
1. Add DeepSeek to context limit fallback (fixes #87)
DeepSeek V4 models support a 1M token context window, but
fallback_context_limit_for_model()had no entry for them. Direct DeepSeek API users were capped at the 200k default instead of getting the full 1M context.2. Fix opencode-zen / opencode-go setup_url (fixes #89)
The
setup_urlfor these profiles pointed toopencode.ai/docs/providers, which was confusing for jcode users who saw opencode documentation links in jcode's UI. Changed to point to the jcode installation docs.Changes
src/provider/models.rs: +4 lines for deepseek 1M contextcrates/jcode-provider-metadata/src/lib.rs: 2 lines, updated setup_url stringsTest plan
opencode.aiNeed help on this PR? Tag
@codesmithwith what you need.