Update app.py
Browse files
app.py
CHANGED
|
@@ -327,8 +327,8 @@ def generate_code_with_devstral(plan_text, history, file_cache):
|
|
| 327 |
|
| 328 |
# Use Modal app.run() pattern like in the examples
|
| 329 |
|
| 330 |
-
base_url = os.
|
| 331 |
-
api_key = os.
|
| 332 |
print(f"🚀 Generating code using Devstral...")
|
| 333 |
print(f"📡 Connecting to: {base_url}")
|
| 334 |
|
|
|
|
| 327 |
|
| 328 |
# Use Modal app.run() pattern like in the examples
|
| 329 |
|
| 330 |
+
base_url = os.getenv("DEVSTRAL_BASE_URL")
|
| 331 |
+
api_key = os.getenv("DEVSTRAL_API_KEY")
|
| 332 |
print(f"🚀 Generating code using Devstral...")
|
| 333 |
print(f"📡 Connecting to: {base_url}")
|
| 334 |
|