From 749c7ce796cd11ee2c99fbdae12108323758b63e Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Mon, 3 Feb 2025 11:40:58 -0800 Subject: [PATCH] OpenAI: chatgpt-4o-latest doesn't support tools --- src/modules/llms/server/openai/models/openai.models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/llms/server/openai/models/openai.models.ts b/src/modules/llms/server/openai/models/openai.models.ts index 41a73eda8..1924e758b 100644 --- a/src/modules/llms/server/openai/models/openai.models.ts +++ b/src/modules/llms/server/openai/models/openai.models.ts @@ -68,7 +68,7 @@ export const _knownOpenAIChatModels: ManualMappings = [ contextWindow: 128000, maxCompletionTokens: 16384, trainingDataCutoff: 'Oct 2023', - interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Fn, LLM_IF_OAI_Json], + interfaces: [LLM_IF_OAI_Chat, LLM_IF_OAI_Vision, LLM_IF_OAI_Json], // does not support Tools chatPrice: { input: 5, output: 15 }, benchmark: { cbaElo: 1337 }, },