nsfw mark api

This commit is contained in:
xds
2026-02-27 09:08:48 +03:00
parent e976fe1c58
commit e4a39e90c3
4 changed files with 45 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class GoogleAdapter:
self.client = genai.Client(api_key=api_key)
# Константы моделей
self.TEXT_MODEL = "gemini-3-pro-preview"
self.TEXT_MODEL = "gemini-3.1-pro-preview"
self.IMAGE_MODEL = "gemini-3-pro-image-preview"
def _prepare_contents(self, prompt: str, images_list: List[bytes] | None = None) -> tuple: