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