[feat] add gpt 1106
This commit is contained in:
@@ -1031,6 +1031,9 @@ export function getModelMaxContext(model:string):number|undefined{
|
||||
return 4000
|
||||
}
|
||||
if(model.startsWith('gpt4')){
|
||||
if(model.includes('turbo')){
|
||||
return 128000
|
||||
}
|
||||
if(model.includes('32k')){
|
||||
return 32000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user