mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
tui: fix summary prompt text formatting to ensure proper XML structure
This commit is contained in:
parent
caa6a3c20d
commit
89c82b3b75
1 changed files with 6 additions and 0 deletions
|
|
@ -1817,6 +1817,12 @@ export namespace SessionPrompt {
|
|||
content: x,
|
||||
}),
|
||||
),
|
||||
{
|
||||
role: "user" as const,
|
||||
content: `
|
||||
The following is the text to summarize:
|
||||
`,
|
||||
},
|
||||
...MessageV2.toModelMessage([
|
||||
{
|
||||
info: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue