Browse Source

debugging instructions in README

Alex Cheema 1 year ago
parent
commit
e049f701ce
1 changed files with 8 additions and 1 deletions
  1. 8 1
      README.md

+ 8 - 1
README.md

@@ -101,11 +101,18 @@ curl http://localhost:8000/v1/chat/completions \
    }'
 ```
 
-
 ```sh
 curl -X POST http://localhost:8001/api/v1/chat -H "Content-Type: application/json" -d '{"messages": [{"role": "user", "content": "What is the meaning of life?"}]}'
 ```
 
+## Debugging
+
+Enable debug logs with the DEBUG environment variable (0-9).
+
+```sh
+DEBUG=9 python3 main.py
+```
+
 ## Inference Engines
 
 exo supports the following inference engines: