update type with some more annotations

This commit is contained in:
2025-07-06 02:11:30 +00:00
parent ff5c7506ff
commit 6c8f779294

5
types.d.ts vendored
View File

@ -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;
} }