mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
openai[small]: Add the new model: gpt-4o-mini (#24594)
This commit is contained in:
parent
597be7d501
commit
5f73c836a6
@ -537,6 +537,7 @@ class BaseOpenAI(BaseLLM):
|
||||
max_tokens = openai.modelname_to_contextsize("gpt-3.5-turbo-instruct")
|
||||
"""
|
||||
model_token_mapping = {
|
||||
"gpt-4o-mini": 128_000,
|
||||
"gpt-4o": 128_000,
|
||||
"gpt-4o-2024-05-13": 128_000,
|
||||
"gpt-4": 8192,
|
||||
|
Loading…
Reference in New Issue
Block a user