Skip to content

Commit 65b3da2

Browse files
authored
Merge pull request #43 from TogetherCrew/fix/41-add-lanchain-tool-call
fix: supporting the langchain output format!
2 parents 7d19dc6 + ce26079 commit 65b3da2

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)