@overmap-ai/core 1.0.66 → 1.0.67-fix-agent-service.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -6915,19 +6915,7 @@ class AgentService extends BaseApiService {
|
|
|
6915
6915
|
blocks: ["prompt"],
|
|
6916
6916
|
queryParams: { conversation_id: conversationId }
|
|
6917
6917
|
}).then((response) => {
|
|
6918
|
-
|
|
6919
|
-
if (!(conversation == null ? void 0 : conversation.offline_id)) {
|
|
6920
|
-
throw new Error("Conversation not found");
|
|
6921
|
-
}
|
|
6922
|
-
if (!Array.isArray(response)) {
|
|
6923
|
-
response = [response];
|
|
6924
|
-
}
|
|
6925
|
-
this.dispatch(
|
|
6926
|
-
updateConversation({
|
|
6927
|
-
...conversation,
|
|
6928
|
-
tiptap_content: [...conversation.tiptap_content || [], ...response]
|
|
6929
|
-
})
|
|
6930
|
-
);
|
|
6918
|
+
this.dispatch(updateConversation(response));
|
|
6931
6919
|
});
|
|
6932
6920
|
}
|
|
6933
6921
|
async fetchDetails(conversationId) {
|