mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
nudge llm to continue properly after compaction
This commit is contained in:
parent
b1e0a23351
commit
555fb53505
1 changed files with 1 additions and 1 deletions
|
|
@ -735,7 +735,7 @@ export namespace Session {
|
|||
providerID: model.providerID,
|
||||
modelID: model.info.id,
|
||||
})
|
||||
msgs = [msg]
|
||||
msgs = [msg, { info: userMsg, parts: userParts }]
|
||||
}
|
||||
|
||||
const outputLimit = Math.min(model.info.limit.output, OUTPUT_TOKEN_MAX) || OUTPUT_TOKEN_MAX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue