Spaces:
Sleeping
Sleeping
Update ArcanaUI2.py
Browse files- ArcanaUI2.py +1 -1
ArcanaUI2.py
CHANGED
|
@@ -152,7 +152,7 @@ def openai_api_call(messages, retries=3, delay=5):
|
|
| 152 |
messages[-1]['content'] = "[System: SEARCH when the user ASKED A QUESTION & remember to CITE(the source is the first tag). Otherwise do not search];" + messages[-1]['content']
|
| 153 |
|
| 154 |
completion = client.chat.completions.create(
|
| 155 |
-
model="
|
| 156 |
messages=messages,
|
| 157 |
functions=function_list,
|
| 158 |
function_call='auto',
|
|
|
|
| 152 |
messages[-1]['content'] = "[System: SEARCH when the user ASKED A QUESTION & remember to CITE(the source is the first tag). Otherwise do not search];" + messages[-1]['content']
|
| 153 |
|
| 154 |
completion = client.chat.completions.create(
|
| 155 |
+
model="gpt-4o",
|
| 156 |
messages=messages,
|
| 157 |
functions=function_list,
|
| 158 |
function_call='auto',
|