Skip to content

Commit

Permalink
#1073: update outdated documentation (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
siom79 authored Apr 4, 2024
1 parent d2fede6 commit 8b397d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/model-setup/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export function modifyConfig(config: Config): Config {
title: "My Custom LLM",
model: "mistral-7b",
},
streamComplete: async function* (prompt, options) {
streamCompletion: async function* (prompt: string, options: CompletionOptions) {
// Make the API call here

// Then yield each part of the completion as it is streamed
Expand All @@ -178,5 +178,6 @@ export function modifyConfig(config: Config): Config {
}
},
});
return config;
}
```

0 comments on commit 8b397d0

Please sign in to comment.