mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
chore: remove max_retries reference from docs
This commit is contained in:
@@ -63,10 +63,6 @@ crew = Crew(
|
|||||||
| **Guardrails** _(optional)_ | `guardrails` | `Optional[List[Callable] | List[str]]` | List of guardrails to validate task output before proceeding to next task. |
|
| **Guardrails** _(optional)_ | `guardrails` | `Optional[List[Callable] | List[str]]` | List of guardrails to validate task output before proceeding to next task. |
|
||||||
| **Guardrail Max Retries** _(optional)_ | `guardrail_max_retries` | `Optional[int]` | Maximum number of retries when guardrail validation fails. Defaults to 3. |
|
| **Guardrail Max Retries** _(optional)_ | `guardrail_max_retries` | `Optional[int]` | Maximum number of retries when guardrail validation fails. Defaults to 3. |
|
||||||
|
|
||||||
<Note type="warning" title="Deprecated: max_retries">
|
|
||||||
The task attribute `max_retries` is deprecated and will be removed in v1.0.0.
|
|
||||||
Use `guardrail_max_retries` instead to control retry attempts when a guardrail fails.
|
|
||||||
</Note>
|
|
||||||
|
|
||||||
## Creating Tasks
|
## Creating Tasks
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user