fix: resend authoring context to replacement ACP sessions
This commit is contained in:
parent
ccbae39b3c
commit
3a2c7ec46f
|
|
@ -142,6 +142,7 @@ export class ACPChatTransport implements ChatTransport<UIMessage> {
|
|||
|
||||
if (!this.session) {
|
||||
this.session = await this.spawnAgent()
|
||||
this.sentContext = false
|
||||
}
|
||||
|
||||
const promptText = this.sentContext ? text : `${SYSTEM_PROMPT}\n\n${text}`
|
||||
|
|
|
|||
Loading…
Reference in a new issue