+ logging
This commit is contained in:
@@ -41,7 +41,7 @@ class GoogleAdapter:
|
|||||||
Возвращает строку с ответом.
|
Возвращает строку с ответом.
|
||||||
"""
|
"""
|
||||||
contents = self._prepare_contents(prompt, images_list)
|
contents = self._prepare_contents(prompt, images_list)
|
||||||
|
logger.info(f"Generating text: {prompt}")
|
||||||
try:
|
try:
|
||||||
response = self.client.models.generate_content(
|
response = self.client.models.generate_content(
|
||||||
model=self.TEXT_MODEL,
|
model=self.TEXT_MODEL,
|
||||||
|
|||||||
Reference in New Issue
Block a user