[go: nahoru, domu]

Skip to content
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

[proposal] Add model name validation #978

Open
dkuku opened this issue Jan 28, 2024 · 1 comment
Open

[proposal] Add model name validation #978

dkuku opened this issue Jan 28, 2024 · 1 comment
Labels
Enhancement New feature or request Help Required Extra attention is needed

Comments

@dkuku
Copy link
dkuku commented Jan 28, 2024

Is your feature request related to a problem? Please describe.

currently I can provide any model name and it fails when it's not valid after first prompt

Describe the solution you'd like

--list-models option would be useful
Also validating if all requirements are set for a model would be useful.

interpreter --model mistral/mistral-tiny-invalid
error: no such model. similar named models are ...
interpreter --model mistral/mistral-tiny
error: no MISTRAL_AI_KEY set ... 

### Describe alternatives you've considered

I'm not sure if this is the repo where it should be implemented or should it be litellm. But lite llm is closer to metal and you need to check their docs - here the model is an command line param and can be easily mistyped

### Additional context

_No response_
@dkuku dkuku added the Enhancement New feature or request label Jan 28, 2024
@MikeBirdTech MikeBirdTech added the Help Required Extra attention is needed label Mar 19, 2024
@MikeBirdTech
Copy link
Collaborator

I like the idea of validation but there are way too many models for a list-model flag.

Maybe there's a possibility for a fuzzy search against popular models to suggest options when one isn't found? I'm sure there are other possibilities too. However, using offline might prove difficult. I'd be interested in hearing more about this.

It would need to be a community contribution as there are other pressing issues to resolve but this could definitely help with usability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Help Required Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants