Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion intelligence/ts/src/flowerintelligence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class FlowerIntelligence {
/**
* Downloads and loads a model into memory.
* @param model Model name to use for the chat.
* @param callback A callback to handle the progress of the download
* @param callback A callback function taking a {@link Progress} object to handle the loading event.
* @returns A {@link Result} containing either a {@link Failure} (containing `code: number` and `description: string`) if `ok` is false or a value of `void`, if `ok` is true (meaning the loading was successful).
*/
async fetchModel(model: string, callback: (progress: Progress) => void): Promise<Result<void>> {
Expand Down