[object Object]

← back to Exo

debugging instructions in README

e049f701ce76c22f945fa019d64e79158c6d03ea · 2024-07-16 16:59:49 -0700 · Alex Cheema

Files touched

Diff

commit e049f701ce76c22f945fa019d64e79158c6d03ea
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Tue Jul 16 16:59:49 2024 -0700

    debugging instructions in README
---
 README.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 52dc8a80..29f8222d 100644
--- a/README.md
+++ b/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:

← bde1e53f add license  ·  back to Exo  ·  remove deprecated main_static 5e8bfc8a →