update type with some more annotations
This commit is contained in:
5
types.d.ts
vendored
5
types.d.ts
vendored
@ -40,7 +40,10 @@ export interface OllamaRequest {
|
|||||||
/**
|
/**
|
||||||
* Whether to stream responses from the API, or have it sent all as one payload.
|
* Whether to stream responses from the API, or have it sent all as one payload.
|
||||||
*/
|
*/
|
||||||
stream?: boolean = false; // stream response vs get response in one full message
|
stream?: boolean = false;
|
||||||
|
/**
|
||||||
|
* Ollama configuration options
|
||||||
|
*/
|
||||||
options?: OllamaConfigOptions;
|
options?: OllamaConfigOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user