Skip to content

Allow providing options in alias or model definition #930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mqudsi opened this issue Apr 17, 2025 · 0 comments
Open

Allow providing options in alias or model definition #930

mqudsi opened this issue Apr 17, 2025 · 0 comments

Comments

@mqudsi
Copy link

mqudsi commented Apr 17, 2025

It would be very convenient to allow defining an alias such as o3-mini-high that is an alias for o3-mini but also automatically supplies -o reasoning high. In particular, it makes it easier to use shell completions and to swap out one model for the other when testing a different response to the previously executed llm shell command from bash/shell history (only edit the -m payload and not have to also add or remove 3 additional arguments, especially if you're comparing, say, o3-mini-medium vs gemini-2.5 vs o3-mini-high or whatever where it's not the same base model).

Alternatively, if it could be defined in a models .yaml instead of in the alias.yaml as a separate model, for example

- model_id: o3-mini-high
  model_name: o3-mini
  model_args:
  - reasoning: high

- model_id: o3-mini-medium
  model_name: o3-mini
  model_args:
  - reasoning: medium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant