OpenAI: contrary to the docs, the Search Preview models don't support image inputs

This commit is contained in:
Enrico Ros
2025-03-14 22:10:23 -07:00
parent 75ccac221d
commit bcc278c9cf
@@ -145,7 +145,7 @@ export const _knownOpenAIChatModels: ManualMappings = [
contextWindow: 128000,
maxCompletionTokens: 16384,
trainingDataCutoff: 'Sep 30, 2023',
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature],
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: 2025-03-15: confirmed on 'playground' that this model does not support images
parameterSpecs: [{ paramId: 'llmVndOaiWebSearchContext' }, { paramId: 'llmVndOaiWebSearchGeolocation' }],
chatPrice: { input: 2.5, output: 10 },
isPreview: true,
@@ -158,7 +158,7 @@ export const _knownOpenAIChatModels: ManualMappings = [
contextWindow: 128000,
maxCompletionTokens: 16384,
trainingDataCutoff: 'Sep 30, 2023',
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature],
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: 2025-03-15: confirmed on 'playground' that this model does not support images
parameterSpecs: [{ paramId: 'llmVndOaiWebSearchContext' }, { paramId: 'llmVndOaiWebSearchGeolocation' }],
chatPrice: { input: 2.5, output: 10 },
isPreview: true,
@@ -335,7 +335,7 @@ export const _knownOpenAIChatModels: ManualMappings = [
contextWindow: 128000,
maxCompletionTokens: 16384,
trainingDataCutoff: 'Sep 30, 2023',
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: this support function calling, but only its own, not a Custom Function
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: this support function calling, but only its own, not a Custom Function
parameterSpecs: [{ paramId: 'llmVndOaiWebSearchContext' }, { paramId: 'llmVndOaiWebSearchGeolocation' }],
chatPrice: { input: 0.15, output: 0.6 },
isPreview: true,
@@ -348,7 +348,7 @@ export const _knownOpenAIChatModels: ManualMappings = [
contextWindow: 128000,
maxCompletionTokens: 16384,
trainingDataCutoff: 'Sep 30, 2023',
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: this support function calling, but only its own, not a Custom Function
interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Json, LLM_IF_HOTFIX_NoTemperature], // NOTE: this support function calling, but only its own, not a Custom Function
parameterSpecs: [{ paramId: 'llmVndOaiWebSearchContext' }, { paramId: 'llmVndOaiWebSearchGeolocation' }],
chatPrice: { input: 0.15, output: 0.6 },
isPreview: true,