Updating docs

This commit is contained in:
João Moura
2024-07-01 03:18:52 -07:00
parent ccbe415315
commit 939a18a4d2
6 changed files with 167 additions and 123 deletions

View File

@@ -1,6 +1,6 @@
---
title: Coding Agents
description: Learn how to enable your crewAI Agents to write and execute code.
description: Learn how to enable your crewAI Agents to write and execute code, and explore advanced features for enhanced functionality.
---
## Introduction
@@ -24,7 +24,7 @@ coding_agent = Agent(
## Important Considerations
1. **Model Selection**: It is strongly recommended to use more capable models like Claude 3.5 Sonnet and GPT-4 when enabling code execution. These models have a better understanding of programming concepts and are more likely to generate correct and efficient code.
1. **Model Selection**: It is strongly recommended to use more capable models like Claude 3.5 Sonnet and GPT-4 when enabling code execution. These models have a better understanding of programming concepts and are more likely to generate correct and efficient code.
2. **Error Handling**: The code execution feature includes error handling. If executed code raises an exception, the agent will receive the error message and can attempt to correct the code or provide alternative solutions.