Skip to content

Commit

Permalink
fix: openai default url
Browse files Browse the repository at this point in the history
  • Loading branch information
luochen1990 committed Jul 19, 2024
1 parent c528970 commit 53ce772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai_powered/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DEBUG = os.environ.get('DEBUG', 'False').lower() in {'true', '1', 'yes', 'on'}
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", "sk-1234567890ab-MOCK-API-KEY")
OPENAI_BASE_URL = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com")
OPENAI_BASE_URL = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com/v1")
OPENAI_MODEL_NAME = os.environ.get("OPENAI_MODEL_NAME")

SYSTEM_PROMPT = """
Expand Down

0 comments on commit 53ce772

Please sign in to comment.