mirror of
https://github.com/open-webui/computer.git
synced 2026-11-25 14:57:45 -05:00
refac
This commit is contained in:
1 parent
2514e96b12
commit
af25ee4b2e
2 files changed
+21
-28
No files matched your search
@@ -200,8 +200,8 @@ export const answerAskUser = (
|
||||
timedOut = false
|
||||
) =>
|
||||
fetchJSON(
|
||||
`/api/chats/${chatId}/messages/${messageId}/answer`,
|
||||
jsonBody({ call_id: callId, answers, timed_out: timedOut })
|
||||
`/api/chats/${chatId}/messages/${messageId}/approve`,
|
||||
jsonBody({ call_id: callId, approved: true, answers, timed_out: timedOut })
|
||||
);
|
||||
|
||||
export const cancelTask = (chatId: string, messageId: string) =>
|
||||
|
||||
Reference in new issue
Block a user