Skip to content

Commit

Permalink
Show the default model when listing all available models. (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
amjith authored Jan 11, 2025
1 parent 1d75792 commit e3c104b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ OpenAI Completion: gpt-3.5-turbo-instruct (aliases: 3.5-instruct, chatgpt-instru
Integer seed to attempt to sample deterministically
logprobs: int
Include the log probabilities of most likely N per token
Default: gpt-4o-mini
```
<!-- [[[end]]] -->
Expand Down
1 change: 1 addition & 0 deletions llm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,7 @@ def models_list(options, async_, query):
)
output += "\n Attachment types:\n{}".format(wrapper.fill(attachment_types))
click.echo(output)
click.echo(f"Default: {get_default_model()}")


@models.command(name="default")
Expand Down

0 comments on commit e3c104b

Please sign in to comment.