🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(llm-keys): ensure default openai model supports all model params (#6496)
marliessophie362902a69ce0
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.tsindex b89c77cf52..d95284fcd0 100644--- a/packages/shared/src/server/llm/types.ts+++ b/packages/shared/src/server/llm/types.ts@@ -253,15 +253,16 @@ export const ExperimentMetadataSchema = zexport type ExperimentMetadata = z.infer<typeof ExperimentMetadataSchema>;// NOTE: Update docs page when changing this! https://langfuse.com/docs/playground#openai-playground--anthropic-playground+// WARNING: The first entry in the array is chosen as the default model to add LLM API keys. Make sure it supports top_p, max_tokens and temperature.export const openAIModels = [- "o3",- "o3-2025-04-16",- "o4-mini",- "o4-mini-2025-04-16","gpt-4.1","gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14",+ "o3",+ "o3-2025-04-16",+ "o4-mini",+ "o4-mini-2025-04-16","gpt-4o","gpt-4o-2024-08-06","gpt-4o-2024-05-13",@@ -292,6 +293,7 @@ export const openAIModels = [export type OpenAIModel = (typeof openAIModels)[number];// NOTE: Update docs page when changing this! https://langfuse.com/docs/playground#openai-playground--anthropic-playground+// WARNING: The first entry in the array is chosen as the default model to add LLM API keys. Make sure it supports top_p, max_tokens and temperature.export const anthropicModels = ["claude-3-7-sonnet-20250219","claude-3-5-sonnet-20241022",@@ -305,6 +307,7 @@ export const anthropicModels = ["claude-instant-1.2",] as const;+// WARNING: The first entry in the array is chosen as the default model to add LLM API keys. Make sure it supports top_p, max_tokens and temperature.export const vertexAIModels = ["gemini-2.5-pro-exp-03-25","gemini-2.0-pro-exp-02-05",@@ -316,6 +319,7 @@ export const vertexAIModels = ["gemini-1.0-pro",] as const;+// WARNING: The first entry in the array is chosen as the default model to add LLM API keys. Make sure it supports top_p, max_tokens and temperature.export const googleAIStudioModels = ["gemini-2.5-pro-exp-03-25","gemini-2.0-flash",