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