Code
basic.py
Usage
1
Set up your virtual environment
2
Install LM Studio
Install LM Studio from here and download the
model you want to use.
3
Install dependencies
4
Run Agent
Save the code above as
basic.py, then run:Stream an agent’s response from a local LM Studio model and print it in the terminal.
Set up your virtual environment
Install LM Studio
Install dependencies
Run Agent
basic.py, then run: