Skip to content

Commit

Permalink
fix const issue (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaspardBT authored Dec 3, 2024
1 parent b4e25ec commit b01c1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mistralai-gcp/src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit b01c1e7

Please sign in to comment.