Update type name

This commit is contained in:
Rugved Somwanshi
2025-09-03 17:36:16 -04:00
parent a80ae2d28a
commit 3ae9f04c57

View File

@ -1,6 +1,6 @@
import { Command } from "@commander-js/extra-typings"; import { Command } from "@commander-js/extra-typings";
import type { SimpleLogger } from "@lmstudio/lms-common"; import type { SimpleLogger } from "@lmstudio/lms-common";
import type { LLMPredictionStats, StaffPickedArtifact } from "@lmstudio/lms-shared-types"; import type { LLMPredictionStats, StaffPickedModel } from "@lmstudio/lms-shared-types";
import { Chat, type LLM } from "@lmstudio/sdk"; import { Chat, type LLM } from "@lmstudio/sdk";
import * as readline from "readline"; import * as readline from "readline";
import { addCreateClientOptions, createClient } from "../createClient.js"; import { addCreateClientOptions, createClient } from "../createClient.js";
@ -113,7 +113,7 @@ export const chat = addLogLevelOptions(
// No model loaded, offer to download a staff pick or use existing downloaded model // No model loaded, offer to download a staff pick or use existing downloaded model
const cliPref = await getCliPref(logger); const cliPref = await getCliPref(logger);
let staffPicks: StaffPickedArtifact[] = []; let staffPicks: StaffPickedModel[] = [];
if (offline !== true) { if (offline !== true) {
try { try {
staffPicks = await client.repository.fetchStaffPicks(); staffPicks = await client.repository.fetchStaffPicks();