Skip to content

Fix DeepSeek cloud request aborts - #24

Open
sunjingwen21 wants to merge 1 commit into
holasoymalva:mainfrom
sunjingwen21:codex/fix-deepseek-cloud-abort
Open

Fix DeepSeek cloud request aborts#24
sunjingwen21 wants to merge 1 commit into
holasoymalva:mainfrom
sunjingwen21:codex/fix-deepseek-cloud-abort

Conversation

@sunjingwen21

Copy link
Copy Markdown

Summary

  • Use the documented /v1/chat/completions endpoint for DeepSeek cloud requests.
  • Explicitly send stream: false for cloud completions to keep the CLI on the non-streaming API path.
  • Add a configurable DEEPSEEK_TIMEOUT_MS with a longer default for reasoning-heavy models and clearer abort messaging.

Validation

  • npm run build
  • deepseek-cli --version
  • Verified cloud config resolves to https://api.deepseek.com/v1/chat/completions with a 300000ms timeout.

@sunjingwen21
sunjingwen21 marked this pull request as ready for review July 8, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant