Skip to content

Commit

Permalink
don't inline system prompts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 14, 2024
1 parent bd840dd commit 4e05ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ export function renderMessagesToMarkdown(
details(
"📙 system",
fenceMD(msg.content, "markdown"),
system === true
false
)
)
break
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode/src/docsnotebook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function activateNotebookExecutor(state: ExtensionState) {
}
heap.output = output

const { system, user, assistant } =
const { system = "false", user, assistant } =
parseKeyValuePairs(cell.metadata.options || "") || {}
let chat = renderMessagesToMarkdown(messages, {
system: parseBoolean(system),
Expand Down

0 comments on commit 4e05ec6

Please sign in to comment.