This commit is contained in:
Siddharth Ganesan
2026-01-24 12:20:56 -08:00
parent 2b5fb1da07
commit 0275e54d26
2 changed files with 3 additions and 2 deletions

View File

@@ -1260,7 +1260,8 @@ async function handleRun(
const instance = getClientTool(toolCall.id)
if (!instance && isIntegrationTool(toolCall.name)) {
setToolCallState(toolCall, 'executing')
// Note: Don't set state to 'executing' here - executeIntegrationTool handles it internally
// and has a guard that skips if already executing (which would cause the tool to get stuck)
onStateChange?.('executing')
try {
await useCopilotStore.getState().executeIntegrationTool(toolCall.id)

View File

@@ -496,7 +496,7 @@ export function DeployModal({
</div>
)}
{apiDeployWarnings.length > 0 && (
<div className='mb-3 rounded-[4px] border border-amber-500/30 bg-amber-500/10 p-3 text-amber-700 dark:text-amber-400 text-sm'>
<div className='mb-3 rounded-[4px] border border-amber-500/30 bg-amber-500/10 p-3 text-amber-700 text-sm dark:text-amber-400'>
<div className='font-semibold'>Deployment Warning</div>
{apiDeployWarnings.map((warning, index) => (
<div key={index}>{warning}</div>