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

Update switch_llm_provider.sh #22

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

cypheroxide
Copy link
Contributor

Add support for Ollama local model configuration

This commit extends the existing platform selection script to include support for Ollama local models. The new branch in the conditional logic handles the 'ollama' argument to configure the environment for accessing models served locally. Key changes include:

  • Addition of an elif clause for 'ollama' to set up the model name, API base URL, and API key.
  • Setup for using an SSH public key for secure connections, formatted in 'ssh-ed25519'.
  • Default model naming fallback similar to existing platform configurations.
  • Confirmation message to indicate successful initialization of the Ollama configuration.

This update enables the script to interact with locally hosted Ollama models, enhancing its versatility and utility in development environments that utilize different model serving platforms.

Add support for Ollama local model configuration

This commit extends the existing platform selection script to include support for Ollama local models. The new branch in the conditional logic handles the 'ollama' argument to configure the environment for accessing models served locally. Key changes include:

- Addition of an `elif` clause for 'ollama' to set up the model name, API base URL, and API key.
- Setup for using an SSH public key for secure connections, formatted in 'ssh-ed25519'.
- Default model naming fallback similar to existing platform configurations.
- Confirmation message to indicate successful initialization of the Ollama configuration.

This update enables the script to interact with locally hosted Ollama models, enhancing its versatility and utility in development environments that utilize different model serving platforms.
@MervinPraison MervinPraison merged commit 75b48b9 into MervinPraison:develop Apr 25, 2024
0 of 2 checks passed
@cypheroxide cypheroxide deleted the patch-1 branch June 17, 2024 20:32
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.

2 participants