Code
tool_use.py
Usage
1
Set up your virtual environment
2
Install Libraries
3
Start vLLM server
4
Set your API key
5
Run Agent
Save the code above as
tool_use.py, then run:Run a vLLM agent with WebSearchTools asynchronously.
Set up your virtual environment
Install Libraries
Start vLLM server
Set your API key
Run Agent
tool_use.py, then run: