Unverified Commit ed290b08 authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Remote tools are turned off (#25867)

parent 09dc9951
...@@ -206,24 +206,12 @@ This method can also take arguments if you would like to pass non-text types or ...@@ -206,24 +206,12 @@ This method can also take arguments if you would like to pass non-text types or
### ⚠️ Remote execution ### ⚠️ Remote execution
For demonstration purposes and so that this can be used with all setups, we have created remote executors for several For demonstration purposes and so that it could be used with all setups, we had created remote executors for several
of the default tools the agent has access. These are created using of the default tools the agent has access for the release. These are created using
[inference endpoints](https://huggingface.co/inference-endpoints). To see how to set up remote executors tools yourself, [inference endpoints](https://huggingface.co/inference-endpoints).
we recommend reading the [custom tool guide](./custom_tools).
In order to run with remote tools, specifying `remote=True` to either [`~Agent.run`] or [`~Agent.chat`] is sufficient.
For example, the following command could be run on any device efficiently, without needing significant RAM or GPU:
```py
agent.run("Draw me a picture of rivers and lakes", remote=True)
```
The same can be said for [`~Agent.chat`]:
```py We have turned these off for now, but in order to see how to set up remote executors tools yourself,
agent.chat("Draw me a picture of rivers and lakes", remote=True) we recommend reading the [custom tool guide](./custom_tools).
```
### What's happening here? What are tools, and what are agents? ### What's happening here? What are tools, and what are agents?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment