Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 656 Bytes

File metadata and controls

25 lines (18 loc) · 656 Bytes

Streaming chat

Build a multi-turn terminal chat with incremental text output.

Complete the repository setup, then:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py --workspace /path/to/repository

Enter /exit or submit an empty prompt to close the session.

Scripted mode accepts each turn as a separate argument:

python main.py --workspace /path/to/repository \
  "Summarize this repository." \
  "Which module should I read first?"

The sample uses QoderSDKClient to keep one session open and enables partial messages for incremental text rendering.