This commit is contained in:
2025-02-18 21:43:32 +01:00
parent fe5a39a40c
commit c536bd45d7

View File

@@ -99,7 +99,7 @@ def get_completion(message: str):
api_key=config.OPENAI_API_KEY, api_key=config.OPENAI_API_KEY,
) )
query = f"{message}. Отвечай на русском языке!" query = f"Отвечай на русском языке! {message}"
completion = client.chat.completions.create( completion = client.chat.completions.create(
extra_body={}, extra_body={},