- In the first terminal, run the controller server:
python main.pyNote: do NOT use
uvicorn main:app --reloadto start the server, as it won't start the scheduler process.
- In the second terminal, run the dummy worker and follow the prompt:
python test_worker_integration.py- In the third terminal, run:
python test_chat_completions.pyYou should be able to observe meaningful logs in all terminals.
- In the terminal:
python main.py- Then visit http://127.0.0.1:8000/docs