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