Repository navigation
feat(app): open Ollama from AI Providers instead of the sidebar - #7411
Merged
Merged
Conversation
Behind ollamaInAiProviders (cloud and self-hosted, off). When on, the settings sidebar and section menu drop the Ollama page, AI Providers shows a secondary Use Ollama button that opens /settings/ollama, and the sidebar keeps AI Providers highlighted on that page. The button is hidden when the organization blocks local models.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Drop the ollamaInAiProviders flag and its doc: the settings sidebar no longer lists Ollama, AI Providers always offers Use Ollama (unless the organization blocks local models), and the command palette still finds the Ollama page.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this about?
Desktop Settings: Ollama moves out of the sidebar and opens from a Use Ollama button at the bottom of AI Providers.
What problem does it solve?
Ollama is one way to get models, but it had its own top-level settings page next to AI Providers, so the sidebar listed two places for providers.
What was the situation before?
The Global group in the settings sidebar listed AI Providers and Ollama as separate pages.
How is this implemented?
settings-page.tsx:getGlobalSettingsTabsno longer includesollama;isSettingsTabActivehighlights AI Providers while/settings/ollamais open (sidebar and compact section menu insettings-shell.tsx).ai-view.tsx: optionalonUseOllamarenders an outline Use Ollama button at the bottom.settings-route.tsx: passesonUseOllamaunless the organization blocks local models. The Ollama page and its route are unchanged.command-palette-settings.ts: keeps the Ollama page searchable.What else changed?
none
Release note
Ollama now opens from the Use Ollama button at the bottom of Settings › AI Providers instead of its own sidebar entry.
Evidence
apps/app/tests/ollama-in-ai-providers.test.tsx— the sidebar tabs drop Ollama, AI Providers stays highlighted on the Ollama page, the palette still finds it, and AI Providers renders Use Ollama. No E2E; screenshot to follow.Design: P3, P5, S6