mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-17 02:25:57 +00:00
fix: disable conversation delete on reset for now (#258)
This commit is contained in:
@@ -353,11 +353,11 @@ export const useChatSession = () => {
|
||||
setLiked({})
|
||||
setDisliked({})
|
||||
|
||||
if (agentServerUrl && oldConversationId) {
|
||||
fetch(`${agentServerUrl}/chat/${oldConversationId}`, {
|
||||
method: 'DELETE',
|
||||
}).catch(() => {})
|
||||
}
|
||||
// if (agentServerUrl && oldConversationId) {
|
||||
// fetch(`${agentServerUrl}/chat/${oldConversationId}`, {
|
||||
// method: 'DELETE',
|
||||
// }).catch(() => {})
|
||||
// }
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user