pmeyhoefer commited on
Commit
bf09a7d
·
verified ·
1 Parent(s): 475f56b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ GITHUB_ENDPOINT = "https://models.github.ai/inference"
32
  # Check GitHub Models documentation for available models. 'gpt-4.1' might not be the correct identifier.
33
  # Let's assume a common format like 'openai/gpt-4o' or similar, adjust as needed.
34
  # Using 'openai/gpt-4.1' as a placeholder based on your original code, VERIFY THIS with GitHub Models docs.
35
- MODEL_ID = os.getenv("MODEL_ID", "openai/gpt-4.1") # Renamed for clarity, adjust if needed
36
 
37
  # --- Configure OpenAI SDK (for tools if needed, now using GitHub endpoint) ---
38
  # This client might be used by tools OR potentially by OpenAIServerModel internally
 
32
  # Check GitHub Models documentation for available models. 'gpt-4.1' might not be the correct identifier.
33
  # Let's assume a common format like 'openai/gpt-4o' or similar, adjust as needed.
34
  # Using 'openai/gpt-4.1' as a placeholder based on your original code, VERIFY THIS with GitHub Models docs.
35
+ MODEL_ID = os.getenv("MODEL_ID", "openai/gpt-4o-mini") # Renamed for clarity, adjust if needed
36
 
37
  # --- Configure OpenAI SDK (for tools if needed, now using GitHub endpoint) ---
38
  # This client might be used by tools OR potentially by OpenAIServerModel internally