кажется надо воттак
This commit is contained in:
@@ -2,6 +2,9 @@ import os
|
|||||||
from google import genai
|
from google import genai
|
||||||
from google.genai.types import GenerateContentConfig, ThinkingConfig
|
from google.genai.types import GenerateContentConfig, ThinkingConfig
|
||||||
|
|
||||||
|
from dotenv import load_dotenv
|
||||||
|
load_dotenv()
|
||||||
|
|
||||||
class SolarisClient:
|
class SolarisClient:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
client = genai.Client(api_key=os.getenv('GOOGLE_API_KEY')).aio
|
client = genai.Client(api_key=os.getenv('GOOGLE_API_KEY')).aio
|
||||||
@@ -12,5 +15,6 @@ class SolarisClient:
|
|||||||
thinking_config=ThinkingConfig(thinking_budget=0)
|
thinking_config=ThinkingConfig(thinking_budget=0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# мяу
|
# мяу
|
||||||
Reference in New Issue
Block a user