mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 00:02:11 +00:00
Rename immediate -> allowDuringStreaming for hook commands
This commit is contained in:
parent
454dd919be
commit
f8352bb7d7
4 changed files with 15 additions and 7 deletions
|
|
@ -29,6 +29,14 @@ export default function (pi: HookAPI) {
|
|||
return box;
|
||||
});
|
||||
|
||||
pi.registerCommand("no-stream", {
|
||||
description: "Send a message without streaming",
|
||||
handler: async (ctx) => {
|
||||
ctx.ui.notify("Sending message after streaming is done...");
|
||||
},
|
||||
allowDuringStreaming: true,
|
||||
})
|
||||
|
||||
// Register /test-msg command
|
||||
pi.registerCommand("test-msg", {
|
||||
description: "Send a test custom message",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue