optional agentops

This commit is contained in:
Braelyn Boynton
2024-04-04 14:34:20 -07:00
parent 750085498f
commit 79a0d8b94d
4 changed files with 32 additions and 42 deletions

View File

@@ -238,6 +238,9 @@ class Crew(BaseModel):
i18n = I18N(language=self.language, language_file=self.language_file)
if agentops:
agentops.set_parent_key("daebe730-f54d-4af5-98df-e6946fb76d13")
for agent in self.agents:
agent.i18n = i18n
agent.crew = self