File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
langchain-classic/src/chat_models
langchain/src/chat_models Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ export function _inferModelProvider(modelName: string): string | undefined {
212212 if (
213213 modelName . startsWith ( "gpt-3" ) ||
214214 modelName . startsWith ( "gpt-4" ) ||
215+ modelName . startsWith ( "gpt-5" ) ||
215216 modelName . startsWith ( "o1" ) ||
216217 modelName . startsWith ( "o3" ) ||
217218 modelName . startsWith ( "o4" )
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ export function _inferModelProvider(modelName: string): string | undefined {
217217 if (
218218 modelName . startsWith ( "gpt-3" ) ||
219219 modelName . startsWith ( "gpt-4" ) ||
220+ modelName . startsWith ( "gpt-5" ) ||
220221 modelName . startsWith ( "o1" ) ||
221222 modelName . startsWith ( "o3" ) ||
222223 modelName . startsWith ( "o4" )
You canβt perform that action at this time.
0 commit comments