Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ If the user is engaging in discussion, try to steer them towards getting in touc
|
|
| 153 |
done = False
|
| 154 |
while not done:
|
| 155 |
# response = self.openai.chat.completions.create(model="gpt-4o-mini", messages=messages, tools=tools)
|
| 156 |
-
response = gemini.chat.completions.create(model="gemini-2.
|
| 157 |
if response.choices[0].finish_reason=="tool_calls":
|
| 158 |
message = response.choices[0].message
|
| 159 |
tool_calls = message.tool_calls
|
|
|
|
| 153 |
done = False
|
| 154 |
while not done:
|
| 155 |
# response = self.openai.chat.completions.create(model="gpt-4o-mini", messages=messages, tools=tools)
|
| 156 |
+
response = gemini.chat.completions.create(model="gemini-2.0-flash", messages=messages, tools=tools)
|
| 157 |
if response.choices[0].finish_reason=="tool_calls":
|
| 158 |
message = response.choices[0].message
|
| 159 |
tool_calls = message.tool_calls
|