Spaces:
Paused
Paused
chore: update something
Browse files
app.py
CHANGED
|
@@ -461,10 +461,10 @@ def generate_chat(
|
|
| 461 |
conversation.append({"role": "tools", "content": supported_tools})
|
| 462 |
|
| 463 |
# Add the references role to the conversation
|
| 464 |
-
if references is None:
|
| 465 |
-
|
| 466 |
-
else:
|
| 467 |
-
|
| 468 |
|
| 469 |
if (
|
| 470 |
references is not None
|
|
|
|
| 461 |
conversation.append({"role": "tools", "content": supported_tools})
|
| 462 |
|
| 463 |
# Add the references role to the conversation
|
| 464 |
+
# if references is None:
|
| 465 |
+
# references = [client_info]
|
| 466 |
+
# else:
|
| 467 |
+
# references.insert(0, client_info)
|
| 468 |
|
| 469 |
if (
|
| 470 |
references is not None
|