mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
Last (hopefully) fix
This commit is contained in:
@@ -616,11 +616,11 @@ async def handle_response(prompt, vykidailo, bartender, history, username, music
|
|||||||
if music:
|
if music:
|
||||||
algorithm = "gpt-3.5-turbo-16k"
|
algorithm = "gpt-3.5-turbo-16k"
|
||||||
table = message_table_muzyka
|
table = message_table_muzyka
|
||||||
token_amount = 16384
|
token_amount = 16000
|
||||||
else:
|
else:
|
||||||
table = MESSAGE_TABLE
|
table = MESSAGE_TABLE
|
||||||
algorithm = "gpt-4"
|
algorithm = "gpt-4"
|
||||||
token_amount = 8192
|
token_amount = 8000
|
||||||
|
|
||||||
prompt_tokens = num_tokens_from_string({"role": "user", "content": final_prompt}, "gpt-4")
|
prompt_tokens = num_tokens_from_string({"role": "user", "content": final_prompt}, "gpt-4")
|
||||||
temptable = []
|
temptable = []
|
||||||
|
|||||||
Reference in New Issue
Block a user