Skip to content

Commit

Permalink
Merge pull request #4 from pingcap-inc/fix-debug-env
Browse files Browse the repository at this point in the history
fix: debug env error
  • Loading branch information
Cheese authored Jun 20, 2024
2 parents fe0ed7d + c51828c commit f62d9d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion app/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class __Config:
def __init__(self):
load_dotenv()

self.debug = bool(os.getenv("DEBUG", "True"))
self.debug = bool(os.getenv("DEBUG", "True") == "True")

self.open_ai_base_url = os.getenv("OPEN_AI_BASE_URL", "https://api.openai.com/v1")
self.open_ai_api = os.getenv("OPEN_AI_API", "")
Expand Down

0 comments on commit f62d9d1

Please sign in to comment.