Skip to content

Commit

Permalink
feat: data for review
Browse files Browse the repository at this point in the history
  • Loading branch information
omgate234 committed Feb 6, 2025
1 parent 2c3dee5 commit c00d55f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/director/agents/sales_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ def run(self,
"Make this message short and crisp"
f"{json.dumps(composio_response)}"
"If there are any errors or if it was not successful, do tell about that as well"
"If the response is successful, Show the details given to create a new deal in a markdown table format"
)
final_message = ContextMessage(content=llm_prompt, role=RoleTypes.user)
llm_response = self.llm.chat_completions([final_message.to_llm_msg()])
Expand All @@ -228,5 +229,5 @@ def run(self,
return AgentResponse(
status=AgentStatus.SUCCESS,
message=f"Agent {self.name} completed successfully.",
data={},
data={final_message: llm_response.content},
)

0 comments on commit c00d55f

Please sign in to comment.