Spaces:
Running
Running
Commit ·
163e70a
1
Parent(s): ef6cb0b
Removing debug logs
Browse files- src/manager/manager.py +0 -2
src/manager/manager.py
CHANGED
|
@@ -273,7 +273,6 @@ class GeminiManager:
|
|
| 273 |
def invoke_manager(self, messages):
|
| 274 |
chat_history = self.format_chat_history(messages)
|
| 275 |
logger.debug(f"Chat history: {chat_history}")
|
| 276 |
-
print(f"Chat history: {chat_history}")
|
| 277 |
try:
|
| 278 |
response_stream = suppress_output(
|
| 279 |
self.generate_response)(chat_history)
|
|
@@ -281,7 +280,6 @@ class GeminiManager:
|
|
| 281 |
function_calls = []
|
| 282 |
function_call_requests = []
|
| 283 |
for chunk in response_stream:
|
| 284 |
-
print(chunk)
|
| 285 |
if chunk.text:
|
| 286 |
full_text += chunk.text
|
| 287 |
yield messages + [{
|
|
|
|
| 273 |
def invoke_manager(self, messages):
|
| 274 |
chat_history = self.format_chat_history(messages)
|
| 275 |
logger.debug(f"Chat history: {chat_history}")
|
|
|
|
| 276 |
try:
|
| 277 |
response_stream = suppress_output(
|
| 278 |
self.generate_response)(chat_history)
|
|
|
|
| 280 |
function_calls = []
|
| 281 |
function_call_requests = []
|
| 282 |
for chunk in response_stream:
|
|
|
|
| 283 |
if chunk.text:
|
| 284 |
full_text += chunk.text
|
| 285 |
yield messages + [{
|