You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/docs/core/actions.md
+3
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ interface Action {
31
31
examples:ActionExample[][];
32
32
handler:Handler;
33
33
validate:Validator;
34
+
suppressInitialMessage?:boolean;
34
35
}
35
36
```
36
37
@@ -151,6 +152,7 @@ interface Action {
151
152
state?:State,
152
153
) =>Promise<void>;
153
154
examples:ActionExample[][];
155
+
suppressInitialMessage?:boolean;
154
156
}
155
157
```
156
158
@@ -162,6 +164,7 @@ interface Action {
162
164
-**validate**: Determines if the action can be executed
163
165
-**handler**: Implements the action's behavior
164
166
-**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)
0 commit comments