You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/a2a/a2a.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/chat/chat.tsx
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,6 @@ export function ChatDeploy({
123
123
const[errors,setErrors]=useState<FormErrors>({})
124
124
constformRef=useRef<HTMLFormElement>(null)
125
125
126
-
// React Query mutations for chat operations
127
126
constcreateChatMutation=useCreateChat()
128
127
constupdateChatMutation=useUpdateChat()
129
128
constdeleteChatMutation=useDeleteChat()
@@ -238,7 +237,6 @@ export function ChatDeploy({
238
237
letchatUrl: string
239
238
240
239
if(existingChat?.id){
241
-
// Update existing chat
242
240
constresult=awaitupdateChatMutation.mutateAsync({
243
241
chatId: existingChat.id,
244
242
workflowId,
@@ -247,7 +245,6 @@ export function ChatDeploy({
247
245
})
248
246
chatUrl=result.chatUrl
249
247
}else{
250
-
// Create new chat
251
248
constresult=awaitcreateChatMutation.mutateAsync({
252
249
workflowId,
253
250
formData,
@@ -257,7 +254,6 @@ export function ChatDeploy({
257
254
chatUrl=result.chatUrl
258
255
}
259
256
260
-
// Mutations handle cache invalidation, no need for onChatExistsChange
261
257
onDeployed?.()
262
258
onVersionActivated?.()
263
259
@@ -291,7 +287,6 @@ export function ChatDeploy({
291
287
292
288
setImageUrl(null)
293
289
setHasInitializedForm(false)
294
-
// Mutation handles cache invalidation, no need for onChatExistsChange
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/form/form.tsx
0 commit comments