Update app.py
Browse files
app.py
CHANGED
|
@@ -99,6 +99,8 @@ def chat():
|
|
| 99 |
)
|
| 100 |
reply_text = (resp.text or "").strip()
|
| 101 |
print(f"[/v1/chat] gemini_ok reply_len={len(reply_text)}")
|
|
|
|
|
|
|
| 102 |
|
| 103 |
# Add assistant message to memory
|
| 104 |
HISTORY.append(
|
|
|
|
| 99 |
)
|
| 100 |
reply_text = (resp.text or "").strip()
|
| 101 |
print(f"[/v1/chat] gemini_ok reply_len={len(reply_text)}")
|
| 102 |
+
print(f"[/v1/chat] bot_reply={reply_text!r}")
|
| 103 |
+
|
| 104 |
|
| 105 |
# Add assistant message to memory
|
| 106 |
HISTORY.append(
|