From fc8e3a2ac76bb220ecb317105b52914895939ff0 Mon Sep 17 00:00:00 2001 From: Josh XT Date: Sat, 21 Dec 2024 17:56:43 -0500 Subject: [PATCH] add note to use quotes --- agixt/XT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agixt/XT.py b/agixt/XT.py index d563215fadbd..677c24326f8b 100644 --- a/agixt/XT.py +++ b/agixt/XT.py @@ -1811,7 +1811,7 @@ async def chat_completions(self, prompt: ChatCompletions): # Before logging the response, lets get all activities matching the `thinking_id` mermaid diagram activities = c.get_subactivities(thinking_id) if activities: - activity_prompt = f"{new_prompt}\n\n{activities}\n\nReview the detailed activities list and create a mermaid diagram that describes the paths taken during the detailed activities that were performed based on the user input. This mermaid diagram should start with ```mermaid\nContent of the diagram\n```\ninside of the block as the final response. The activities describe the thoughts in steps that ultimately led to the response from the assistant to the user based on the user input. Be as detailed as possible with the diagram." + activity_prompt = f"{new_prompt}\n\n{activities}\n\nReview the detailed activities list and create a mermaid diagram that describes the paths taken during the detailed activities that were performed based on the user input. This mermaid diagram should start with ```mermaid\nContent of the diagram\n```\ninside of the block as the final response. The activities describe the thoughts in steps that ultimately led to the response from the assistant to the user based on the user input. Be as detailed as possible with the diagram. Ensure each item in the diagram is in quotes." mermaid_diagram = await self.inference( user_input=activity_prompt, prompt_category="Default",