Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def stream_gemini_response(user_message: str, messages: list) -> Iterator[list]:
|
|
52 |
# Initialize buffers and flags
|
53 |
thought_buffer = ""
|
54 |
response_buffer = ""
|
55 |
-
thinking_complete = False
|
56 |
|
57 |
# Add initial thinking message
|
58 |
#messages.append(
|
@@ -69,7 +69,7 @@ def stream_gemini_response(user_message: str, messages: list) -> Iterator[list]:
|
|
69 |
content=response_buffer
|
70 |
)
|
71 |
)
|
72 |
-
print(f"
|
73 |
|
74 |
thinking_complete = True
|
75 |
|
|
|
52 |
# Initialize buffers and flags
|
53 |
thought_buffer = ""
|
54 |
response_buffer = ""
|
55 |
+
#thinking_complete = False
|
56 |
|
57 |
# Add initial thinking message
|
58 |
#messages.append(
|
|
|
69 |
content=response_buffer
|
70 |
)
|
71 |
)
|
72 |
+
print(f"his {chat_history}")
|
73 |
|
74 |
thinking_complete = True
|
75 |
|