فهرست منبع

support create quantize param (#86)

Bruce MacDonald 1 سال پیش
والد
کامیت
07c2e1b038
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      src/browser.ts
  2. 1 0
      src/interfaces.ts

+ 1 - 0
src/browser.ts

@@ -148,6 +148,7 @@ export class Ollama {
       name: request.model,
       stream: request.stream,
       modelfile: request.modelfile,
+      quantize: request.quantize,
     })
   }
 

+ 1 - 0
src/interfaces.ts

@@ -90,6 +90,7 @@ export interface CreateRequest {
   model: string
   path?: string
   modelfile?: string
+  quantize?: string
   stream?: boolean
 }