mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-27 20:09:10 +01:00
Resolve provider setup binding types after master merge
This commit is contained in:
1 parent
b6bc28667e
commit
089a417650
2 files changed
+2
-1
No files matched your search
@@ -740,6 +740,7 @@ function Setup({
|
||||
value={aiBinding}
|
||||
preferAdvanced
|
||||
onChange={binding => {
|
||||
if (binding.mode === "router") return;
|
||||
setConnection({ env: {}, aiConnection: binding });
|
||||
setRuntimeAiBinding(undefined);
|
||||
resetTest();
|
||||
|
||||
@@ -156,7 +156,7 @@ function AgentConnectionModes() {
|
||||
<AgentProviderConnection companyId={companyId} adapterType="codex_local" environmentId={null}
|
||||
canLogin={false} onBack={() => {}} testConnection={async () => true} onConnected={setConnected}
|
||||
advancedConnection={{ value, content: <AiConnectionField companyId={companyId} agentName="Nova"
|
||||
adapterType="codex_local" value={value} onChange={setValue} preferAdvanced /> }} />
|
||||
adapterType="codex_local" value={value} onChange={binding => { if (binding.mode !== "router") setValue(binding); }} preferAdvanced /> }} />
|
||||
{connected && <p role="status">Continue to Configure with {connected.aiConnection?.provider}.</p>}
|
||||
</QueryClientProvider>;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user