8000 The `model` flag could take the `provider` value (e.g. `openai/gpt-4o-mini`) · Issue #69 · chrishayuk/mcp-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The model flag could take the provider value (e.g. openai/gpt-4o-mini) #69

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

Closed
8000
jrgtt opened this issue Mar 27, 2025 · 2 comments
Closed

Comments

@jrgtt
Copy link
jrgtt commented Mar 27, 2025

Suggestion to do what aider does, where a single flag is enough for defining the provider and the model.

# this
mcp-cli --server sqlite --model ollama/llama3.2

# instead of 
mcp-cli --server sqlite --model llama3.2 --provider ollama

Besides reducing the number of supported arguments, you could also remove the /provider command. Nowdays both commands /model and /provider need to be called if one changes from providers.

Bonus: non ambiguous models could be expanded to support their providers.

# expands model to `openai/chatgpt-4o-mini`
mcp-cli --server sqlite --model chatgpt-4o-mini 

I am glad to send a PR, if this idea sounds good for the maintainer.

@chrishayuk
Copy link
Owner

love it, yes please

@chrishayuk
Copy link
Owner

this should work now

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

2 participants
0