-
Notifications
You must be signed in to change notification settings - Fork 4.4k
docs: update agent and task documentation with new parameters #2891
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
…nt parameters: multimodal, allow_feedback, allow_conflict, allow_iteration, embedder_config - Add new Task parameter: markdown for automatic formatting - Update documentation examples and usage patterns - Add comprehensive sections for advanced collaboration features and markdown formatting
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2891OverviewThis pull request brings valuable updates to the documentation for Detailed Code Improvements1. agents.mdxPositive Aspects
Concerns and Recommendations
2. tasks.mdxPositive Aspects
Concerns and Recommendations
General Recommendations
ConclusionThe updates within this pull request significantly improve the documentation for the CrewAI framework, indicating thoughtful enhancements. Addressing the outlined recommendations concerning parameter organization, type safety, and error handling will further augment the usability and reliability of the agents and tasks functionalities. Thank you for your contributions! |
8000
docs/concepts/agents.mdx
Outdated
| **Allow Feedback** _(optional)_ | `allow_feedback` | `bool` | Enable agent to receive and process feedback during execution. Default is False. | | ||
| **Allow Conflict** _(optional)_ | `allow_conflict` | `bool` | Enable agent to handle conflicts with other agents during execution. Default is False. | | ||
| **Allow Iteration** _(optional)_ | `allow_iteration` | `bool` | Enable agent to iterate on its solutions based on feedback and validation. Default is False. | | ||
| **Embedder Config** _(optional)_ | `embedder_config` | `Optional[Dict[str, Any]]` | Configuration for the embedder used by the agent. | |
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 think its still just embedder. can we double check this one
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.
ah yes!
…ng ones - Remove incorrect parameters: allow_feedback, allow_conflict, allow_iteration - Add actual parameters: inject_date, date_format, reasoning, max_reasoning_attempts - Fix embedder_config to embedder to match source code - Update examples and best practices with correct parameters
Documentation Improvements:
✅ Updated Task Attributes table
✅ Added comprehensive "Markdown Output Formatting" section
✅ Updated YAML and Python code examples to show markdown usage
✅ Explained benefits and use cases for markdown formatting
✅ Added automatic formatting instructions details