[eat] new gpt4 in proxy

This commit is contained in:
kwaroran
2023-11-12 23:33:00 +09:00
parent f6b16044ca
commit dd3fa358dd
2 changed files with 3 additions and 1 deletions

View File

@@ -85,5 +85,5 @@ export async function getInlayImage(id: string){
export function supportsInlayImage(){
const db = get(DataBase)
return db.aiModel.startsWith('gptv')
return db.aiModel.startsWith('gptv') || (db.aiModel === 'reverse_proxy' && db.proxyRequestModel?.startsWith('gptv'))
}