[feat] add gpt 1106

This commit is contained in:
kwaroran
2023-11-07 04:27:06 +09:00
parent 2aca62a162
commit 2ed9e1ec9a
3 changed files with 19 additions and 3 deletions

View File

@@ -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
}