Skip to content

feat(den-web): set up AI Gateway tools from logo buttons - #7410

Merged
OmarMcAdam merged 2 commits into
devfrom
cleanup-models-mylib-how-to-setup
Nov 14, 2026
Merged

OmarMcAdam merged 2 commits into
devfrom
cleanup-models-mylib-how-to-setup

Conversation

@OmarMcAdam

@OmarMcAdam OmarMcAdam commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

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?

  • New feature ollamaInAiProviders (cloud and self-hosted, off) in packages/features/src/flags/, read in the app via useDesktopFeature. Internal doc: docs/features/ollama-in-ai-providers/README.md.
  • settings-page.tsx: getGlobalSettingsTabs drops ollama when on; isSettingsTabActive highlights AI Providers while /settings/ollama is open (sidebar and compact section menu).
  • ai-view.tsx: optional onUseOllama renders an outline Use Ollama button at the bottom.
  • settings-route.tsx: passes onUseOllama only when the flag is on and local models are not blocked by the organization. The Ollama page and its route are unchanged.
  • Safe to kill: only navigation changes; nothing is stored.

What else changed?

  • Public docs (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

@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-den Ready Ready Preview Nov 14, 2026 12:39am UTC
3 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Nov 14, 2026 12:39am UTC
openwork-diagnostics Ignored Ignored Preview Nov 14, 2026 12:39am UTC
openwork-landing Ignored Ignored Preview Nov 14, 2026 12:39am UTC

Request Review

@mintlify

mintlify Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Nov 14, 2026, 12:38 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@OmarMcAdam
OmarMcAdam merged commit 27e6989 into dev Nov 14, 2026
22 of 23 checks passed

This branch was successfully deployed

5 active (3 outdated) deployments
Preview – openwork-den — 7e064434 Deployed Nov 14, 2026 by vercel[bot]
staging - packages/docs — 7e064434 Deployed Nov 14, 2026 by mintlify[bot]
Preview – openwork-app — 4f2d2e25 Deployed Nov 14, 2026 by vercel[bot]
Preview – openwork-landing — 4f2d2e25 Deployed Nov 14, 2026 by vercel[bot]
Preview – openwork-diagnostics — 4f2d2e25 Deployed Nov 14, 2026 by vercel[bot]
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.

1 participant