Add a keep going suggestion (#201)

This commit is contained in:
Will Chen
2025-05-19 15:38:33 -07:00
committed by GitHub
parent 68cb6b3d7d
commit b4b9556e2c
3 changed files with 126 additions and 140 deletions

View File

@@ -297,7 +297,10 @@ const getProposalHandler = async (
});
}
}
if (actions.length > 0 && latestAssistantMessage) {
if (latestAssistantMessage) {
actions.push({
id: "keep-going",
});
return {
proposal: {
type: "action-proposal",