Skip to content

CoLearn-Dev/fleece-controller-old

Repository files navigation

Golden Fleece - Controller

Test OpenAI API

  • In the first terminal, run the controller server:
python main.py

Note: do NOT use uvicorn main:app --reload to 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.py

You should be able to observe meaningful logs in all terminals.

Controller API docs

  • In the terminal:
python main.py