+ logging
This commit is contained in:
@@ -58,7 +58,7 @@ class GoogleAdapter:
|
|||||||
for part in response.parts:
|
for part in response.parts:
|
||||||
if part.text:
|
if part.text:
|
||||||
result_text += part.text
|
result_text += part.text
|
||||||
|
logger.error(f"Generated text: {result_text}")
|
||||||
return result_text
|
return result_text
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user