Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -344,12 +344,7 @@ def chat_response(message, history, model_name, direct_mode, thinking_depth=1.0,
|
|
344 |
|
345 |
partial_message = ""
|
346 |
code_block = None
|
347 |
-
|
348 |
-
model=AVAILABLE_MODELS.get(model_name, "O3"),
|
349 |
-
messages=messages,
|
350 |
-
stream=False,
|
351 |
-
provider="PollinationsAI"
|
352 |
-
)
|
353 |
|
354 |
if response and isinstance(response, str):
|
355 |
partial_message += response
|
|
|
344 |
|
345 |
partial_message = ""
|
346 |
code_block = None
|
347 |
+
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
if response and isinstance(response, str):
|
350 |
partial_message += response
|