diff --git a/docs/source/en/tutorials/building_good_agents.md b/docs/source/en/tutorials/building_good_agents.md index 57e5ea4..de8cd3a 100644 --- a/docs/source/en/tutorials/building_good_agents.md +++ b/docs/source/en/tutorials/building_good_agents.md @@ -233,9 +233,9 @@ Here are the rules you should always follow to solve your task: Now Begin! If you solve the task correctly, you will receive a reward of $1,000,000. ``` -As yo can see, there are placeholders like `"{{tool_descriptions}}"`: these will be used upon agent initialization to insert certain automatically generated descriptions of tools or managed agents. +As you can see, there are placeholders like `"{{tool_descriptions}}"`: these will be used upon agent initialization to insert certain automatically generated descriptions of tools or managed agents. -So while you can overwrite this system prompt template by passing your custom prompt as an argument to the `system_prompt` parameter, your new system promptmust contain the following placeholders: +So while you can overwrite this system prompt template by passing your custom prompt as an argument to the `system_prompt` parameter, your new system prompt must contain the following placeholders: - `"{{tool_descriptions}}"` to insert tool descriptions. - `"{{managed_agents_description}}"` to insert the description for managed agents if there are any. - For `CodeAgent` only: `"{{authorized_imports}}"` to insert the list of authorized imports. diff --git a/docs/source/en/tutorials/secure_code_execution.md b/docs/source/en/tutorials/secure_code_execution.md index 2189c5b..d8a6109 100644 --- a/docs/source/en/tutorials/secure_code_execution.md +++ b/docs/source/en/tutorials/secure_code_execution.md @@ -47,7 +47,7 @@ This interpreter is designed for security by: - Capping the number of operations to prevent infinite loops and resource bloating. - Will not perform any operation that's not pre-defined. -Wev'e used this on many use cases, without ever observing any damage to the environment. +We've used this on many use cases, without ever observing any damage to the environment. However this solution is not watertight: one could imagine occasions where LLMs fine-tuned for malignant actions could still hurt your environment. For instance if you've allowed an innocuous package like `Pillow` to process images, the LLM could generate thousands of saves of images to bloat your hard drive. It's certainly not likely if you've chosen the LLM engine yourself, but it could happen. @@ -79,4 +79,4 @@ agent = CodeAgent( agent.run("What was Abraham Lincoln's preferred pet?") ``` -E2B code execution is not compatible with multi-agents at the moment - because having an agent call in a code blob that should be executed remotely is a mess. But we're working on adding it! \ No newline at end of file +E2B code execution is not compatible with multi-agents at the moment - because having an agent call in a code blob that should be executed remotely is a mess. But we're working on adding it! diff --git a/docs/source/en/tutorials/tools.md b/docs/source/en/tutorials/tools.md index be69b83..c86da57 100644 --- a/docs/source/en/tutorials/tools.md +++ b/docs/source/en/tutorials/tools.md @@ -89,8 +89,8 @@ model_downloads_tool.push_to_hub("{your_username}/hf-model-downloads", token="