Agent completed work jubii

This commit is contained in:
Lucas Winther
2026-07-09 08:07:32 +02:00
parent 6466d3a45c
commit eb72a2e646
29 changed files with 2051 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
/**
* Model catalog (Decisions.md D-006).
*
* M1 ships a single hardcoded model. The curated catalog — tiny → large,
* English-only vs multilingual, dtype defaults per device, size estimates —
* lands in M2.
*
* TODO(M2): curated `MODELS` catalog with sizes/dtypes/languages (D-006).
*/
import type { InferenceDevice } from "../worker/protocol";
/**
* The one model M1 supports. `onnx-community` is the recommended org for
* Transformers.js v3+ ONNX conversions.
*/
export const DEFAULT_MODEL_ID = "onnx-community/whisper-tiny.en";
/** M1 runs WASM only; WebGPU detection arrives in M2 (D-004). */
export const DEFAULT_DEVICE: InferenceDevice = "wasm";