| 4763 | 'gpt-4-turbo', | 4763 | 'gpt-4-turbo', |
| 4764 | 'gpt-4o', | 4764 | 'gpt-4o', |
| 4765 | 'gpt-4o-mini', | 4765 | 'gpt-4o-mini', |
| | 4766 | 'chatgpt-4o-latest', |
| 4766 | 'yi-vision', | 4767 | 'yi-vision', |
| 4767 | ]; | 4768 | ]; |
| 4768 | | 4769 | |
| 4769 | switch (oai_settings.chat_completion_source) { | 4770 | switch (oai_settings.chat_completion_source) { |
| 4770 | case chat_completion_sources.OPENAI: | 4771 | case chat_completion_sources.OPENAI: |
| 4771 | return visionSupportedModels.some(model => oai_settings.openai_model.includes(model) && !oai_settings.openai_model.includes('chatgpt-4o-latest') && !oai_settings.openai_model.includes('gpt-4-turbo-preview')); | 4772 | return visionSupportedModels.some(model => oai_settings.openai_model.includes(model) && !oai_settings.openai_model.includes('gpt-4-turbo-preview')); |
| 4772 | case chat_completion_sources.MAKERSUITE: | 4773 | case chat_completion_sources.MAKERSUITE: |
| 4773 | return visionSupportedModels.some(model => oai_settings.google_model.includes(model)); | 4774 | return visionSupportedModels.some(model => oai_settings.google_model.includes(model)); |
| 4774 | case chat_completion_sources.CLAUDE: | 4775 | case chat_completion_sources.CLAUDE: |