@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.
@@ -6904,19 +6904,7 @@ var __publicField = (obj, key, value) => {
6904
6904
  blocks: ["prompt"],
6905
6905
  queryParams: { conversation_id: conversationId }
6906
6906
  }).then((response) => {
6907
- const conversation = store.getState().agentsReducer.instances[conversationId];
6908
- if (!(conversation == null ? void 0 : conversation.offline_id)) {
6909
- throw new Error("Conversation not found");
6910
- }
6911
- if (!Array.isArray(response)) {
6912
- response = [response];
6913
- }
6914
- this.dispatch(
6915
- updateConversation({
6916
- ...conversation,
6917
- tiptap_content: [...conversation.tiptap_content || [], ...response]
6918
- })
6919
- );
6907
+ this.dispatch(updateConversation(response));
6920
6908
  });
6921
6909
  }
6922
6910
  async fetchDetails(conversationId) {