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

fix: patch host config handling #647

Merged
merged 2 commits into from
Jan 19, 2025
Merged

fix: patch host config handling #647

merged 2 commits into from
Jan 19, 2025

Conversation

baxen
Copy link
Collaborator

@baxen baxen commented Jan 19, 2025

Ollama and databricks need host configured and stored

Ollama and databricks need host configured and stored
// Although we don't need host to be stored secretly, we use the keyring to make
// it easier to coordinate with configuration. We could consider a non secret storage tool
// elsewhere in the future
let host = crate::key_manager::get_keyring_secret("DATABRICKS_HOST", Default::default())?;
let model_name = std::env::var("DATABRICKS_MODEL")
.unwrap_or_else(|_| DATABRICKS_DEFAULT_MODEL.to_string());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not related to this PR - DATABRICKS_DEFAULT_MODEL = "claude-3-5-sonnet-2" won't map to a valid endpoint for everyone

@salman1993 salman1993 merged commit 67c9c75 into v1.0 Jan 19, 2025
4 checks passed
acekyd pushed a commit that referenced this pull request Jan 21, 2025
@yingjiehe-xyz yingjiehe-xyz deleted the baxen/patch-host-vars branch February 5, 2025 21:06
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