mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -99,7 +99,7 @@ def get_completion(message: str):
|
||||
api_key=config.OPENAI_API_KEY,
|
||||
)
|
||||
|
||||
query = f"{message}. Отвечай на русском языке!"
|
||||
query = f"Отвечай на русском языке! {message}"
|
||||
|
||||
completion = client.chat.completions.create(
|
||||
extra_body={},
|
||||
|
||||
Reference in New Issue
Block a user