Skip to content

Commit 41106f2

Browse files
committed
Update actions.md
1 parent 68dde2c commit 41106f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/docs/core/actions.md

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ interface Action {
3131
examples: ActionExample[][];
3232
handler: Handler;
3333
validate: Validator;
34+
suppressInitialMessage?: boolean;
3435
}
3536
```
3637

@@ -151,6 +152,7 @@ interface Action {
151152
state?: State,
152153
) => Promise<void>;
153154
examples: ActionExample[][];
155+
suppressInitialMessage?: boolean;
154156
}
155157
```
156158

@@ -162,6 +164,7 @@ interface Action {
162164
- **validate**: Determines if the action can be executed
163165
- **handler**: Implements the action's behavior
164166
- **examples**: Demonstrates proper usage patterns
167+
- **suppressInitialMessage**: When true, suppresses the initial response message before processing the action. Useful for actions that generate their own responses (like image generation)
165168

166169
---
167170

0 commit comments

Comments
 (0)