diff --git a/README.md b/README.md index 51d672b..5dcfcbd 100644 --- a/README.md +++ b/README.md @@ -98,8 +98,6 @@ ollama.pull(request) - `request` ``: The request object containing pull parameters. - `model` `` The name of the model to pull. - `insecure` ``: (Optional) Pull from servers whose identity cannot be verified. - - `username` ``: (Optional) Username of the user pulling the model. - - `password` ``: (Optional) Password of the user pulling the model. - `stream` ``: (Optional) When true an `AsyncGenerator` is returned. - Returns: `` @@ -112,8 +110,6 @@ ollama.push(request) - `request` ``: The request object containing push parameters. - `model` `` The name of the model to push. - `insecure` ``: (Optional) Push to servers whose identity cannot be verified. - - `username` ``: (Optional) Username of the user pushing the model. - - `password` ``: (Optional) Password of the user pushing the model. - `stream` ``: (Optional) When true an `AsyncGenerator` is returned. - Returns: `` diff --git a/src/index.ts b/src/index.ts index dde83c9..716ff5a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -249,8 +249,6 @@ export class Ollama { name: request.model, stream: request.stream, insecure: request.insecure, - username: request.username, - password: request.password, }) } @@ -264,8 +262,6 @@ export class Ollama { name: request.model, stream: request.stream, insecure: request.insecure, - username: request.username, - password: request.password, }) } diff --git a/src/interfaces.ts b/src/interfaces.ts index 03ecac4..384b0b2 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -76,16 +76,12 @@ export interface ChatRequest { export interface PullRequest { model: string insecure?: boolean - username?: string - password?: string stream?: boolean } export interface PushRequest { model: string insecure?: boolean - username?: string - password?: string stream?: boolean }