-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: add apps
& actions
attributes to Agent
#3504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e02a46f
to
c67564d
Compare
src/crewai/agent.py
Outdated
) | ||
else: | ||
print(f"Error during reasoning process: {str(e)}") | ||
print(f"Error during reasoning process: {e!s}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this as a logger? while youre here
tests/agents/test_agent.py
Outdated
role="Platform Agent", | ||
goal="Use platform tools", | ||
backstory="Platform specialist", | ||
actions=["gmail/create_task", "slack/update_status", "customer_support/send_notification"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i thought we are consolidating it to apps. but two ways of setting based on one attribute:
Agent(apps=["gmail"])
and
Agent(apps=["gmail/action"])
512b818
to
ea851f2
Compare
goal="Use platform tools", | ||
backstory="Platform specialist", | ||
actions=["gmail/create_task", "slack/update_status", "customer_support/send_notification"] | ||
apps=["gmail/create_task", "slack/update_status", "hubspot"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lfg
4d595ea
to
40097c5
Compare
422f9d9
to
9901996
Compare
9901996
to
9242152
Compare
Depends on tools to be merged