Skip to content

Commit 550ebeb

Browse files
author
Shaw
committed
chore: format shared local inference types
1 parent cdadbdc commit 550ebeb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/shared/src/local-inference/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ export interface LocalRuntimeAcceleration {
275275
/** Catalog id of the hidden drafter GGUF companion. */
276276
drafterModelId: string;
277277
specType: "dflash";
278-
/** llama-server context for the target model. */
279-
contextSize: number;
278+
/** llama-server context for the target model. */
279+
contextSize: number;
280280
/** llama-server context for the drafter. */
281281
draftContextSize: number;
282282
/** Default draft range passed to llama-server. */

plugins/plugin-aosp-local-inference/src/aosp-local-inference-bootstrap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ function wrapKokoroWebOrtModule(
13291329
export async function loadAospKokoroOrt(): ReturnType<AospKokoroOrtLoader> {
13301330
const spec = process.env.ELIZA_AOSP_KOKORO_ORT_MODULE?.trim();
13311331
if (!spec || spec === DEFAULT_AOSP_KOKORO_ORT_MODULE) {
1332+
// @ts-expect-error onnxruntime-web exposes this runtime subpath without bundled declarations.
13321333
const mod = await import("onnxruntime-web/wasm");
13331334
return wrapKokoroWebOrtModule(mod);
13341335
}

0 commit comments

Comments
 (0)