Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -63,7 +63,7 @@ def together_response(messages,model="openai/gpt-4o-mini",SysPrompt=SysPromptOpt
|
|
63 |
return response_message
|
64 |
|
65 |
import tiktoken # Used to limit tokens
|
66 |
-
encoding = tiktoken.encoding_for_model("gpt-
|
67 |
|
68 |
def limit_tokens(input_string, token_limit=7500):
|
69 |
"""
|
|
|
63 |
return response_message
|
64 |
|
65 |
import tiktoken # Used to limit tokens
|
66 |
+
encoding = tiktoken.encoding_for_model("gpt-4o")
|
67 |
|
68 |
def limit_tokens(input_string, token_limit=7500):
|
69 |
"""
|