@@ -54,27 +54,24 @@ Either way, running `clai` will start an interactive session where you can chat
54
54
## Help
55
55
56
56
```
57
- usage: clai [-h] [-m [MODEL]] [-a AGENT] [-l] [-t [CODE_THEME]] [--no-stream] [--version] [prompt]
57
+ Usage: clai [-h] [-m [MODEL]] [-a AGENT] [-l] [-t [CODE_THEME]] [--no-stream]
58
+ [--version] [PROMPT]
58
59
59
- PydanticAI CLI v0.3.5
60
-
61
- Special prompts:
62
- * `/exit` - exit the interactive mode (ctrl-c and ctrl-d also work)
63
- * `/markdown` - show the last markdown output of the last question
64
- * `/multiline` - toggle multiline mode
65
60
66
61
positional arguments:
67
- prompt AI Prompt, if omitted fall into interactive mode
68
-
69
- options:
70
- -h, --help show this help message and exit
71
- -m [MODEL], --model [MODEL]
72
- Model to use, in format "<provider>:<model>" e.g. "openai:gpt-4o" or "anthropic:claude-3-7-sonnet-latest". Defaults to "openai:gpt-4o".
73
- -a AGENT, --agent AGENT
74
- Custom Agent to use, in format "module:variable", e.g. "mymodule.submodule:my_agent"
75
- -l, --list-models List all available models and exit
76
- -t [CODE_THEME], --code-theme [CODE_THEME]
77
- Which colors to use for code, can be "dark", "light" or any theme from pygments.org/styles/. Defaults to "dark" which works well on dark terminals.
78
- --no-stream Disable streaming from the model
79
- --version Show version and exit
62
+ prompt AI Prompt, if omitted fall into interactive mode
63
+
64
+ Options:
65
+ -m, --model TEXT Model to use, in format "<provider>:<model>" e.g.
66
+ "openai:gpt-4.1" or "anthropic:claude-sonnet-4-0".
67
+ Defaults to "openai:gpt-4.1".
68
+ -a, --agent TEXT Custom Agent to use, in format "module:variable",
69
+ e.g. "mymodule.submodule:my_agent"
70
+ -l, --list-models List all available models and exit
71
+ -t, --code-theme TEXT Which colors to use for code, can be "dark", "light"
72
+ or any theme from pygments.org/styles/. Defaults to
73
+ "dark" which works well on dark terminals.
74
+ --no-stream Disable streaming from the model
75
+ --version Show version and exit
76
+ -h, --help Show this message and exit.
80
77
```
0 commit comments