diff --git a/src/browser.ts b/src/browser.ts index 842b6f3..d3721f9 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -148,6 +148,7 @@ export class Ollama { name: request.model, stream: request.stream, modelfile: request.modelfile, + quantize: request.quantize, }) } diff --git a/src/interfaces.ts b/src/interfaces.ts index 1acefd0..d0a56fa 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -90,6 +90,7 @@ export interface CreateRequest { model: string path?: string modelfile?: string + quantize?: string stream?: boolean }