@@ -26,6 +26,7 @@ export const Models = {
2626 customModel : { value : '' , desc : 'Custom Model' } ,
2727 azureOpenAi : { value : '' , desc : 'ChatGPT (Azure)' } ,
2828 waylaidwandererApi : { value : '' , desc : 'Waylaidwanderer API (Github)' } ,
29+ poeAiWebCustom : { value : '' , desc : 'Poe AI (Web, Custom)' } ,
2930 poeAiWebChatGpt : { value : 'chatgpt' , desc : 'Poe AI (Web, ChatGPT)' } ,
3031 poeAiWebDragonfly : { value : 'dragonfly' , desc : 'Poe AI (Web, Dragonfly)' } ,
3132}
@@ -42,6 +43,7 @@ export const poeWebModelKeys = [
4243 'poeAiWebGPT4' ,
4344 'poeAiWebClaudePlus' ,
4445 'poeAiWebClaude' ,
46+ 'poeAiWebCustom' ,
4547 'poeAiWebChatGpt' ,
4648 'poeAiWebDragonfly' ,
4749]
@@ -90,6 +92,8 @@ export const defaultConfig = {
9092 azureEndpoint : '' ,
9193 azureDeploymentName : '' ,
9294
95+ poeCustomBotName : '' ,
96+
9397 /** @type {keyof ModelMode }*/
9498 modelMode : 'balanced' ,
9599
@@ -182,6 +186,10 @@ export function isUsingCustomModel(configOrSession) {
182186 return customApiModelKeys . includes ( configOrSession . modelName )
183187}
184188
189+ export function isUsingCustomNameOnlyModel ( configOrSession ) {
190+ return configOrSession . modelName === 'poeAiWebCustom'
191+ }
192+
185193export function isUsingAzureOpenAi ( configOrSession ) {
186194 return azureOpenAiApiModelKeys . includes ( configOrSession . modelName )
187195}
0 commit comments