Skip to content

Fix Ollama endpoint validation and model loading#568

Open
Finesssee wants to merge 2 commits intoathasdev:masterfrom
Finesssee:fix/ollama-endpoint-validation
Open

Fix Ollama endpoint validation and model loading#568
Finesssee wants to merge 2 commits intoathasdev:masterfrom
Finesssee:fix/ollama-endpoint-validation

Conversation

@Finesssee
Copy link
Contributor

Summary

  • move Ollama endpoint probing behind one shared path instead of mixing browser fetches and provider-specific behavior
  • add a Rust-side /api/tags probe command so custom Ollama URLs work without depending on the frontend HTTP allowlist
  • reuse that probe in settings, the model selector, and dynamic model loading so the UI stops rejecting valid endpoints

Testing

  • bun fix
  • bun test
  • bun typecheck
  • cargo test --manifest-path src-tauri/Cargo.toml ollama -- --nocapture

Fixes #372

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.

Ollama support

1 participant