fix: prevent sending control request when query is closed

This commit is contained in:
mingholy.lmh
2025-12-05 18:46:51 +08:00
parent 46478e5dd3
commit c218048551
3 changed files with 20 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ npm install @qwen-code/sdk-typescript
## Requirements
- Node.js >= 20.0.0
- [Qwen Code](https://github.com/QwenLM/qwen-code) installed and accessible in PATH
- [Qwen Code](https://github.com/QwenLM/qwen-code) >= 0.4.0 (stable) installed and accessible in PATH
> **Note for nvm users**: If you use nvm to manage Node.js versions, the SDK may not be able to auto-detect the Qwen Code executable. You should explicitly set the `pathToQwenExecutable` option to the full path of the `qwen` binary.