Skip to content

Commit beb3d58

Browse files
revert ee8a3a2
1 parent 6569b3d commit beb3d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/managed-llm/app/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# Configure basic logging
1616
logging.basicConfig(level=logging.INFO)
1717

18-
default_openai_base_url = "https://api.openai.com/v1/chat/completions"
18+
default_openai_base_url = "https://api.openai.com/v1/"
1919

2020
# Set the environment variables for the chat model
21-
LLM_URL = os.getenv("LLM_URL", default_openai_base_url)
21+
LLM_URL = os.getenv("LLM_URL", default_openai_base_url) + "chat/completions"
2222
# Fallback LLM Model if not set in environment
2323
MODEL_ID = os.getenv("LLM_MODEL", "gpt-4-turbo")
2424

0 commit comments

Comments
 (0)