webchat: bundle assets with rolldown

This commit is contained in:
Peter Steinberger
2025-12-07 17:44:37 +01:00
parent 74e5e5e182
commit 98651c2a14
10 changed files with 195780 additions and 142 deletions

View File

@@ -0,0 +1,19 @@
// Minimal stub to satisfy @lmstudio/sdk imports in the bundled web chat.
export class LMStudioClient {
constructor() {
this.system = {
async listDownloadedModels() {
return [];
},
};
}
}
export function connect() {
throw new Error("LM Studio is not available in the embedded web chat bundle.");
}
export default {
LMStudioClient,
connect,
};