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

Add an option to override the base_url #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

intellectronica
Copy link

@intellectronica intellectronica commented Apr 4, 2024

Adds an option -o base_url https://... to override the endpoint used for Command-R.

This is useful when using the model through a cloud provider or your own deployment (tested this with a deployment on Azure - after deploying Command-R+ through the Azure AI Studio I have an endpoint: https://....swedencentral.inference.ai.azure.com/v1).

Ultimately I think this is something that can be managed by llm in a standard way, like keys, since most popular models are now available from various cloud providers or as your own deployment (if the weights are available). If you think this is interesting let me know and I don't mind contributing that.

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

Successfully merging this pull request may close these issues.

1 participant