Skip to content

Commit

Permalink
support create quantize param (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD authored May 10, 2024
1 parent a0b47fe commit 07c2e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export class Ollama {
name: request.model,
stream: request.stream,
modelfile: request.modelfile,
quantize: request.quantize,
})
}

Expand Down
1 change: 1 addition & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export interface CreateRequest {
model: string
path?: string
modelfile?: string
quantize?: string
stream?: boolean
}

Expand Down

0 comments on commit 07c2e1b

Please sign in to comment.