Skip to content

Commit

Permalink
fix: reduce error logs & update docs link (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekpatil4 authored Dec 11, 2024
1 parent 9fb021a commit 0583e73
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/composio/client/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,10 +1145,8 @@ def is_action(obj):

if len(apps) > 0 and len(tags) == 0 and not allow_all:
warnings.warn(
"Using all the actions of an app is not recommended. "
"Please use tags to filter actions or provide specific actions. "
"We just pass the important actions to the agent, but this is not meant "
"to be used in production. Check out https://docs.composio.dev/sdk/python/actions for more information.",
"Using all actions of an app is not recommended for production."
"Learn more: https://docs.composio.dev/patterns/tools/use-tools/use-specific-actions",
UserWarning,
)
tags = ["important"]
Expand Down

0 comments on commit 0583e73

Please sign in to comment.