🪢 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
feat(llm-connections): remove atla integration (#8059)
Hassieb Pakzad6a0e0a4221cb
diff --git a/packages/shared/src/server/llm/fetchLLMCompletion.ts b/packages/shared/src/server/llm/fetchLLMCompletion.tsindex 5dd365a580..886453a2d4 100644--- a/packages/shared/src/server/llm/fetchLLMCompletion.ts+++ b/packages/shared/src/server/llm/fetchLLMCompletion.ts@@ -316,22 +316,6 @@ export async function fetchLLMCompletion(maxRetries,apiKey,});- } else if (modelParams.adapter === LLMAdapter.Atla) {- // Atla models do not support:- // - temperature- // - max_tokens- // - top_p- chatModel = new ChatOpenAI({- openAIApiKey: apiKey,- modelName: modelParams.model,- callbacks: finalCallbacks,- maxRetries,- configuration: {- baseURL: baseURL,- defaultHeaders: extraHeaders,- },- timeout: 1000 * 60, // 1 minute timeout- });} else {// eslint-disable-next-line no-unused-varsconst _exhaustiveCheck: never = modelParams.adapter;diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.tsindex 7a189f6f2a..87fd8a47f9 100644--- a/packages/shared/src/server/llm/types.ts+++ b/packages/shared/src/server/llm/types.ts@@ -236,7 +236,6 @@ export type PromptVariable = { name: string; value: string; isUsed: boolean };export enum LLMAdapter {Anthropic = "anthropic",OpenAI = "openai",- Atla = "atla",Azure = "azure",Bedrock = "bedrock",VertexAI = "google-vertex-ai",@@ -378,8 +377,6 @@ export const googleAIStudioModels = ["gemini-1.5-flash-8b",] as const;-export const atlaModels = ["atla-selene", "atla-selene-20250214"] as const;-export type AnthropicModel = (typeof anthropicModels)[number];export type VertexAIModel = (typeof vertexAIModels)[number];export const supportedModels = {@@ -389,7 +386,6 @@ export const supportedModels = {[LLMAdapter.GoogleAIStudio]: googleAIStudioModels,[LLMAdapter.Azure]: [],[LLMAdapter.Bedrock]: [],- [LLMAdapter.Atla]: atlaModels,} as const;export type LLMFunctionCall = {diff --git a/web/src/features/playground/page/hooks/useModelParams.ts b/web/src/features/playground/page/hooks/useModelParams.tsindex cff124f05b..fac07a038e 100644--- a/web/src/features/playground/page/hooks/useModelParams.ts+++ b/web/src/features/playground/page/hooks/useModelParams.ts@@ -275,16 +275,5 @@ function getDefaultAdapterParams(max_tokens: { value: 4096, enabled: false },top_p: { value: 1, enabled: false },};- case LLMAdapter.Atla:- return {- adapter: {- value: adapter,- enabled: true,- },- temperature: { value: 0, enabled: false },- maxTemperature: { value: 1, enabled: false },- max_tokens: { value: 4096, enabled: false },- top_p: { value: 1, enabled: false },- };}}diff --git a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsxindex 4cb6bdf3ce..18db195a4e 100644--- a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx+++ b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx@@ -147,8 +147,6 @@ export function CreateLLMApiKeyForm({return customization?.defaultBaseUrlAzure ?? "";case LLMAdapter.Anthropic:return customization?.defaultBaseUrlAnthropic ?? "";- case LLMAdapter.Atla:- return "https://api.atla-ai.com/v1/integrations/langfuse";default:return "";}@@ -412,13 +410,6 @@ export function CreateLLMApiKeyForm({/v1/messages)</span>)}- {currentAdapter === LLMAdapter.Atla && (- <span className="text-dark-yellow">- <br />- Please use the Atla default base URL:- https://api.atla-ai.com/v1/integrations/langfuse- </span>- )}</FormDescription><FormControl>