mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
qwen: add page (#17369)
This commit is contained in:
parent
820bb32694
commit
ca10ab00a5
1 changed files with 33 additions and 0 deletions
33
pages/common/qwen.md
Normal file
33
pages/common/qwen.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# qwen
|
||||||
|
|
||||||
|
> Launch an interactive prompt with Qwen3-Coder.
|
||||||
|
> See also: `gemini`.
|
||||||
|
> More information: <https://github.com/QwenLM/qwen-code>.
|
||||||
|
|
||||||
|
- Start a REPL session to chat interactively:
|
||||||
|
|
||||||
|
`qwen`
|
||||||
|
|
||||||
|
- Send the output of another command to Qwen and exit immediately:
|
||||||
|
|
||||||
|
`{{echo "Summarize the history of Rome"}} | qwen {{[-p|--prompt]}}`
|
||||||
|
|
||||||
|
- Override the default model (default: qwen3-coder-max):
|
||||||
|
|
||||||
|
`qwen {{[-m|--model]}} {{model_name}}`
|
||||||
|
|
||||||
|
- Run inside a sandbox container:
|
||||||
|
|
||||||
|
`qwen {{[-s|--sandbox]}}`
|
||||||
|
|
||||||
|
- Execute a prompt then stay in interactive mode:
|
||||||
|
|
||||||
|
`qwen {{[-i|--prompt-interactive]}} "{{Give me an example of recursion in Python}}"`
|
||||||
|
|
||||||
|
- Include all files in context:
|
||||||
|
|
||||||
|
`qwen {{[-a|--all-files]}}`
|
||||||
|
|
||||||
|
- Show memory usage in status bar:
|
||||||
|
|
||||||
|
`qwen --show-memory-usage`
|
Loading…
Add table
Reference in a new issue