Files
moreminimore-vibe/src/hooks
Daniel Klein ed2bf680ba fix: hide setup banner if any custom providers are configured (#1756)
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. -->
2025-11-18 20:19:36 -08:00
..
2025-05-08 17:21:35 -07:00
2025-07-22 15:45:30 -07:00
2025-04-11 09:38:16 -07:00
2025-06-05 22:26:17 -07:00
2025-06-05 22:26:17 -07:00
2025-05-08 17:21:35 -07:00
2025-05-02 14:51:32 -07:00
2025-09-19 15:43:39 -07:00
2025-08-18 13:25:11 -07:00
2025-05-08 17:21:35 -07:00
2025-05-19 14:41:18 -07:00
2025-09-09 00:18:48 -07:00
2025-07-23 10:11:16 -07:00