Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def apply_replacements(text):
|
|
107 |
return text
|
108 |
|
109 |
|
110 |
-
def chat_with_openai(message: str, history: list, temperature: float, max_new_tokens: int, fast_mode=
|
111 |
"""
|
112 |
Call the OpenAI ChatCompletion endpoint using the new client and yield streaming responses.
|
113 |
Implements <think> logic:
|
|
|
107 |
return text
|
108 |
|
109 |
|
110 |
+
def chat_with_openai(message: str, history: list, temperature: float, max_new_tokens: int, fast_mode: bool = False):
|
111 |
"""
|
112 |
Call the OpenAI ChatCompletion endpoint using the new client and yield streaming responses.
|
113 |
Implements <think> logic:
|