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/english/concepts/ai-apps.md
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,27 +84,6 @@ def handle_app_mentioned(
84
84
)
85
85
```
86
86
87
-
</TabItem>
88
-
<TabItemvalue="assistant"label="Assistant class">
89
-
90
-
```python
91
-
@assistant.user_message
92
-
defrespond_in_assistant_thread(
93
-
set_status: SetStatus,
94
-
...
95
-
):
96
-
set_status(
97
-
status="thinking...",
98
-
loading_messages=[
99
-
"Teaching the hamsters to type faster…",
100
-
"Untangling the internet cables…",
101
-
"Consulting the office goldfish…",
102
-
"Polishing up the response just for you…",
103
-
"Convincing the AI to stop overthinking…",
104
-
],
105
-
)
106
-
```
107
-
108
87
## Streaming messages {#text-streaming}
109
88
110
89
You can have your app's messages stream in to replicate conventional agent behavior. Bolt for Python provides a `say_stream` utility as a listener argument available for `app.event` and `app.message` listeners.
0 commit comments