ed2bf680baedfbdc914232cd7fbcdfd41c4ee2f4
Fixes #1108 ## Summary The "Setup AI Access" banner was not being hidden when custom providers were configured. This was because the `isAnyProviderSetup()` function only checked hardcoded cloud providers and didn't account for custom providers. ## Changes Updated `useLanguageModelProviders.ts` to check for configured custom providers in addition to the hardcoded cloud providers. ## Test plan - Configure a custom provider without setting up any cloud providers - Verify that the "Setup AI Access" banner is now hidden 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Hide the "Setup AI Access" banner when any provider is configured, including custom providers. Fixes a logic gap where only hardcoded cloud providers were checked. - **Bug Fixes** - Extend isAnyProviderSetup to check custom providers from query data (by id). - Banner no longer shows when a custom provider is configured without cloud providers. <sup>Written for commit 2ecef7aac52da0b4d43c69fc5d3afb7bafa5706a. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
Dyad
Dyad is a local, open-source AI app builder. It's fast, private, and fully under your control — like Lovable, v0, or Bolt, but running right on your machine.
More info at: https://dyad.sh/
🚀 Features
- ⚡️ Local: Fast, private and no lock-in.
- 🛠 Bring your own keys: Use your own AI API keys — no vendor lock-in.
- 🖥️ Cross-platform: Easy to run on Mac or Windows.
📦 Download
No sign-up required. Just download and go.
👉 Download for your platform
🤝 Community
Join our growing community of AI app builders on Reddit: r/dyadbuilders - share your projects and get help from the community!
🛠️ Contributing
Dyad is open-source (Apache 2.0 licensed).
If you're interested in contributing to dyad, please read our contributing doc.
License
- All the code in this repo outside of
src/prois open-source and licensed under Apache 2.0 - see LICENSE. - All the code in this repo within
src/prois fair-source and licensed under Functional Source License 1.1 Apache 2.0 - see LICENSE.
Description
Languages
TypeScript
97.4%
JavaScript
1.6%
CSS
0.6%
Shell
0.2%