Skip to content

Commit 1a98a0c

Browse files
Fix built-in AI session config
1 parent f3dc6b1 commit 1a98a0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

built-in-ai/static/session.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ const modelDownloadProgressMonitor = m => {
7070
const defaultLanguageModelSessionOptions = {
7171
temperature: 1.0,
7272
topK: 1,
73-
initialPrompts: [],
7473
monitor: modelDownloadProgressMonitor
7574
};
7675
const defaultSummarizerSessionOptions = {
77-
type: "tl;dr", // tl;dr, key-points, teaser, headline.
76+
type: "tldr", // tldr, key-points, teaser, headline.
7877
length: "long", // short, medium, long.
7978
format: "plain-text", // plain-text, markdown.
8079
monitor: modelDownloadProgressMonitor

0 commit comments

Comments
 (0)