Skip to content

Commit

Permalink
fix: make the --help text for --model always use recommended models
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Dec 5, 2024
1 parent 4d4c2b4 commit 2c872f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gptme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from .dirs import get_logs_dir
from .init import init_logging
from .interrupt import handle_keyboard_interrupt, set_interruptible
from .llm.models import get_recommended_model
from .logmanager import ConversationMeta, get_user_conversations
from .message import Message
from .prompts import get_prompt
Expand Down Expand Up @@ -63,7 +64,7 @@
"-m",
"--model",
default=None,
help="Model to use, e.g. openai/gpt-4o, anthropic/claude-3-5-sonnet-20240620. If only provider given, a default is used.",
help=f"Model to use, e.g. openai/{get_recommended_model('openai')}, anthropic/{get_recommended_model('anthropic')}. If only provider given then a default is used.",
)
@click.option(
"-w",
Expand Down

0 comments on commit 2c872f3

Please sign in to comment.