Skip to content

Commit ce26079

Browse files
committed
fix: supporting the langchain output format!
it's now string and not crewai output!
1 parent 1fa6d64 commit ce26079

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tasks/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ async def run_hivemind_agent_activity(
116116
}
117117
)
118118

119-
if isinstance(crew_output, CrewOutput):
120-
final_answer = crew_output.raw
119+
if isinstance(crew_output, str):
120+
final_answer = crew_output
121121
elif not payload.enable_answer_skipping:
122122
final_answer = "No answer was generated."
123123
else:

0 commit comments

Comments
 (0)