feat(agent): Adds prologue functionality (#9336)

### What problem does this PR solve?

feat(agent): Adds prologue functionality #3221

- Add a prologue field to the IInputs type
- Initialize the prologue state in the chat container
- Use useEffect to monitor prologue changes and add prologue responses
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-08-08 17:45:37 +08:00
committed by GitHub
parent 4a3871090d
commit 4f2e9ef248
3 changed files with 13 additions and 0 deletions

View File

@ -361,5 +361,6 @@ export const useSendAgentMessage = (
resetSession,
findReferenceByMessageId,
appendUploadResponseList,
addNewestOneAnswer,
};
};