We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a24370 commit c0d72f6Copy full SHA for c0d72f6
pydantic_ai_slim/pydantic_ai/_cli.py
@@ -152,6 +152,7 @@ def cli(
152
@click.option(
153
'-m',
154
'--model',
155
+ shell_complete=get_literal_values(KnownModelName.__value__),
156
help=f'Model to use, in format "<provider>:<model>" e.g. "openai:gpt-4.1" or "anthropic:claude-sonnet-4-0". Defaults to "{default_model}".',
157
)
158
0 commit comments