mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
docs: use sh -c in troubleshooting test command
Inline shell snippets need sh -c to execute via pipe, matching how child_process.exec() runs the configured command. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f67c9c5d78
commit
f8071186a9
1 changed files with 6 additions and 6 deletions
|
|
@ -166,9 +166,9 @@ Then reference it in settings:
|
|||
|
||||
## Troubleshooting
|
||||
|
||||
| Problem | Cause | Fix |
|
||||
| ----------------------- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Status line not showing | Config at wrong path | Must be under `ui.statusLine`, not root-level `statusLine` |
|
||||
| Empty output | Command fails silently | Test manually: `echo '{"model":{"id":"test"},"cwd":"/tmp","context_window":{"context_window_size":1,"last_prompt_token_count":0}}' \| your_command` |
|
||||
| Stale data | No trigger fired | Send a message or switch models to trigger an update |
|
||||
| Command too slow | Complex script | Optimize the script or move heavy work to a background cache |
|
||||
| Problem | Cause | Fix |
|
||||
| ----------------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Status line not showing | Config at wrong path | Must be under `ui.statusLine`, not root-level `statusLine` |
|
||||
| Empty output | Command fails silently | Test manually: `echo '{"model":{"id":"test"},"cwd":"/tmp","context_window":{"context_window_size":1,"last_prompt_token_count":0}}' \| sh -c 'your_command'` |
|
||||
| Stale data | No trigger fired | Send a message or switch models to trigger an update |
|
||||
| Command too slow | Complex script | Optimize the script or move heavy work to a background cache |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue