The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ai): skip save-time model probe for cli-login providers
Steven Enamakel38fc55b0349a
diff --git a/app/src/components/settings/panels/ai/useAISettingsState.ts b/app/src/components/settings/panels/ai/useAISettingsState.tsindex 1cf5611cc3..8607c44900 100644--- a/app/src/components/settings/panels/ai/useAISettingsState.ts+++ b/app/src/components/settings/panels/ai/useAISettingsState.ts@@ -30,6 +30,9 @@ import {type RoutingMap,} from './aiPanelTypes';+/** Providers with no `/models` endpoint, never re-probed at save time. */+const SAVE_PROBE_EXEMPT_SLUGS = new Set(['openhuman', 'claude-code']);+function toPanelProvider(p: CloudProviderView): CloudProvider {return {id: p.id,@@ -169,10 +172,12 @@ export function useAISettings() {// unreachable between add-time and save-time, etc.) before they reach// the saved config and start routing chat traffic to a dead host.//- // OpenHuman is exempt (session JWT, no /models endpoint to hit).+ // Exempt: OpenHuman (session JWT) and CLI-login providers such as+ // `claude-code` (`cli://` endpoint) — neither has a /models endpoint to+ // hit, matching the add-time `isCliLogin` skip in `useProviderConnect`.const savedById = new Map(saved.cloudProviders.map(p => [p.id, p]));const toProbe = draft.cloudProviders.filter(p => {- if (p.slug === 'openhuman') return false;+ if (SAVE_PROBE_EXEMPT_SLUGS.has(p.slug)) return false;const prior = savedById.get(p.id);return !prior || prior.endpoint !== p.endpoint;});diff --git a/vendor/tinybus b/vendor/tinybusindex 59f4bc6a8c..428f11c954 160000--- a/vendor/tinybus+++ b/vendor/tinybus@@ -1 +1 @@-Subproject commit 59f4bc6a8cc809d76d0cbe8a1f95a885a8ea6ed6+Subproject commit 428f11c954bfe214fecb78f21fb7e02b309713f0