From 089a417650395a6914bf1c346b01508f89849036 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 5 Oct 2026 21:17:23 -0500 Subject: [PATCH] Resolve provider setup binding types after master merge --- ui/src/components/new-agent/NewAgentSetup.tsx | 1 + ui/storybook/stories/provider-routing-06-production.stories.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/new-agent/NewAgentSetup.tsx b/ui/src/components/new-agent/NewAgentSetup.tsx index 8f5bd1f17f9..37052291baf 100644 --- a/ui/src/components/new-agent/NewAgentSetup.tsx +++ b/ui/src/components/new-agent/NewAgentSetup.tsx @@ -740,6 +740,7 @@ function Setup({ value={aiBinding} preferAdvanced onChange={binding => { + if (binding.mode === "router") return; setConnection({ env: {}, aiConnection: binding }); setRuntimeAiBinding(undefined); resetTest(); diff --git a/ui/storybook/stories/provider-routing-06-production.stories.tsx b/ui/storybook/stories/provider-routing-06-production.stories.tsx index 33d99962c40..774e3481073 100644 --- a/ui/storybook/stories/provider-routing-06-production.stories.tsx +++ b/ui/storybook/stories/provider-routing-06-production.stories.tsx @@ -156,7 +156,7 @@ function AgentConnectionModes() { {}} testConnection={async () => true} onConnected={setConnected} advancedConnection={{ value, content: }} /> + adapterType="codex_local" value={value} onChange={binding => { if (binding.mode !== "router") setValue(binding); }} preferAdvanced /> }} /> {connected &&

Continue to Configure with {connected.aiConnection?.provider}.

} ; }