fix: langfuse upgrade and crew result usage (#4342)

* lanfuse upgrade and crew result usage

* ✅ (Dynamic Agent.spec.ts): Enable tests for checking the presence of required environment variables before running the test suite.

✨ (Hierarchical Agent.spec.ts): Add integration test for Hierarchical Tasks Agent to ensure proper functionality and behavior
✨ (Sequential Task Agent.spec.ts): Add integration test for Sequential Tasks Agent to ensure proper functionality and behavior

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
This commit is contained in:
Sebastián Estévez 2024-10-31 14:57:07 -04:00 • committed by GitHub
commit a03da10750
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 325 additions and 107 deletions

View file

@ -78,6 +78,6 @@ class BaseCrewComponent(Component):
async def build_output(self) -> Message:
crew = self.build_crew()
result = await crew.kickoff_async()
message = Message(text=result, sender=MESSAGE_SENDER_AI)
message = Message(text=result.raw, sender=MESSAGE_SENDER_AI)
self.status = message
return message