diff options
author | bobzel <zzzman@gmail.com> | 2025-01-21 10:28:58 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-01-21 10:28:58 -0500 |
commit | 9ef41b53aab0a5c7a3f429bb97bcd029bc06caeb (patch) | |
tree | eaef127b186776e5b4c214a0089f8418de60608e | |
parent | 8eeef990696f8c689af5f6db72bd1fe124f6cbc5 (diff) |
fixed merge error
-rw-r--r-- | src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx index 6d5290c95..b89498d7d 100644 --- a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx +++ b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx @@ -548,8 +548,6 @@ export class ChatBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { * @returns {Promise<void>} A promise that resolves once the document is created and displayed. */ @action - createDocInDash = async (doc_type: string, data: string, options: DocumentOptions, id: string) => { - const doc = await this.whichDoc(doc_type, data, options, id); createDocInDash = async (doc_type: string, data: string | undefined, options: DocumentOptions, id: string) => { let doc; @@ -914,16 +912,14 @@ export class ChatBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { /** * Getter that retrieves all linked CSV files for analysis. */ - @computed - get linkedCSVs(): { filename: string; id: string; text: string }[] { + @computed get linkedCSVs(): { filename: string; id: string; text: string }[] { return this.linked_csv_files; } /** * Getter that formats the entire chat history as a string for the agent's system message. */ - @computed - get formattedHistory(): string { + @computed get formattedHistory(): string { let history = '<chat_history>\n'; for (const message of this.history) { history += `<${message.role}>${message.content.map(content => content.text).join(' ')}`; |