Update Akeno/plugins/cohere.py
Browse files- Akeno/plugins/cohere.py +1 -1
Akeno/plugins/cohere.py
CHANGED
@@ -14,7 +14,7 @@ co = cohere.Client(cohere_key)
|
|
14 |
async def cohere(c: Client, message: Message):
|
15 |
try:
|
16 |
user_id = message.from_user.id
|
17 |
-
chat_history = db._get_cohere_chat_from_db(user_id)
|
18 |
if len(message.command) > 1:
|
19 |
prompt = message.text.split(maxsplit=1)[1]
|
20 |
elif message.reply_to_message:
|
|
|
14 |
async def cohere(c: Client, message: Message):
|
15 |
try:
|
16 |
user_id = message.from_user.id
|
17 |
+
chat_history = await db._get_cohere_chat_from_db(user_id)
|
18 |
if len(message.command) > 1:
|
19 |
prompt = message.text.split(maxsplit=1)[1]
|
20 |
elif message.reply_to_message:
|