From b01c1e7e964627b1ce0d446c40f2d2127a026e24 Mon Sep 17 00:00:00 2001 From: Gaspard Blanchet <26529448+GaspardBT@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:36:11 +0100 Subject: [PATCH] fix const issue (#60) --- packages/mistralai-gcp/src/sdk/sdk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mistralai-gcp/src/sdk/sdk.ts b/packages/mistralai-gcp/src/sdk/sdk.ts index 8ec62b1..66090a1 100644 --- a/packages/mistralai-gcp/src/sdk/sdk.ts +++ b/packages/mistralai-gcp/src/sdk/sdk.ts @@ -23,7 +23,7 @@ const LEGACY_MODEL_ID_FORMAT: { [key: string]: string } = { }; function getModelInfo(model: string): [string, string] { - let modelId = LEGACY_MODEL_ID_FORMAT[model]; + const modelId = LEGACY_MODEL_ID_FORMAT[model]; if (modelId === undefined) { return [model, model]; }