Repository navigation
feat(den-web): set up AI Gateway tools from logo buttons - #7410
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
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?
ollamaInAiProviders(cloud and self-hosted, off) inpackages/features/src/flags/, read in the app viauseDesktopFeature. Internal doc:docs/features/ollama-in-ai-providers/README.md.settings-page.tsx:getGlobalSettingsTabsdropsollamawhen on;isSettingsTabActivehighlights AI Providers while/settings/ollamais open (sidebar and compact section menu).ai-view.tsx: optionalonUseOllamarenders an outline Use Ollama button at the bottom.settings-route.tsx: passesonUseOllamaonly when the flag is on and local models are not blocked by the organization. The Ollama page and its route are unchanged.What else changed?
packages/docs/ai-gateway/third-party-tools.mdx,cursor.mdx) use the new section name and the Set up row.Release note
none
Evidence
apps/app/tests/ollama-in-ai-providers.test.tsx— off: Ollama stays in the sidebar tabs and no button renders; on: the sidebar drops Ollama, AI Providers stays highlighted on the Ollama page, and AI Providers renders Use Ollama. No E2E; screenshot to follow.Design: P3, P5, S6