From 023426c7476592d6dfc846e3554391a94c660e75 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Tue, 2 Apr 2024 10:17:24 +0100 Subject: [PATCH] fixed typo --- agenta-backend/agenta_backend/models/api/evaluation_model.py | 2 +- agenta-web/src/lib/Types.ts | 2 +- agenta-web/src/lib/helpers/llmProviders.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/agenta-backend/agenta_backend/models/api/evaluation_model.py b/agenta-backend/agenta_backend/models/api/evaluation_model.py index c9954479ae..015655870b 100644 --- a/agenta-backend/agenta_backend/models/api/evaluation_model.py +++ b/agenta-backend/agenta_backend/models/api/evaluation_model.py @@ -241,7 +241,7 @@ class LMProvidersEnum(str, Enum): azure_base = "AZURE_API_BASE" azure_key = "AZURE_API_KEY" togetherai = "TOGETHERAI_API_KEY" - mistralai = "MISTRALAI_API_KEY" + mistral = "MISTRAL_API_KEY" class NewEvaluation(BaseModel): diff --git a/agenta-web/src/lib/Types.ts b/agenta-web/src/lib/Types.ts index d2e94c7b0b..66b10a3630 100644 --- a/agenta-web/src/lib/Types.ts +++ b/agenta-web/src/lib/Types.ts @@ -261,7 +261,7 @@ export interface LlmProvidersKeys { AZURE_API_KEY: string AZURE_API_BASE: string TOGETHERAI_API_KEY: string - MISTRALAI_API_KEY: string + MISTRAL_API_KEY: string } export interface AppTemplate { diff --git a/agenta-web/src/lib/helpers/llmProviders.ts b/agenta-web/src/lib/helpers/llmProviders.ts index aac6d4e383..2d4f446e79 100644 --- a/agenta-web/src/lib/helpers/llmProviders.ts +++ b/agenta-web/src/lib/helpers/llmProviders.ts @@ -17,7 +17,7 @@ export const llmAvailableProviders: LlmProvider[] = [ {title: "Anthropic", key: "", name: "ANTHROPIC_API_KEY"}, {title: "Azure", key: "", name: "AZURE_API_KEY"}, {title: "TogetherAI", key: "", name: "TOGETHERAI_API_KEY"}, - {title: "Mistral AI", key: "", name: "MISTRALAI_API_KEY"}, + {title: "Mistral AI", key: "", name: "MISTRAL_API_KEY"}, ] export const getApikeys = () => {