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
`AstrBot-desktop` is designed for quick local deployment of AstrBot on your personal computer, supporting Windows, macOS, and Linux.
4
+
5
+
Among the various deployment options, the desktop client is best suited for personal local use. It is not recommended for long-term server operation or production environments. For production deployments, consider [Docker](/en/deploy/astrbot/docker) or [Kubernetes](/en/deploy/astrbot/kubernetes) instead.
6
+
7
+
Compared to command-line or container-based solutions, the desktop client offers an out-of-the-box experience, ideal for users who want to get started without dealing with environment setup.
contexts=[user_msg], # When prompt is not specified, contexts is used as input; if both prompt and contexts are provided, prompt is appended to the end of the LLM input
This hook is triggered when AstrBot is preparing to call the LLM but has not yet acquired the session lock.
256
+
257
+
It is suitable for sending feedback such as "Waiting for request..." to the user, or for obtaining the LLM request outside the lock without waiting for it to be released.
258
+
259
+
```python
260
+
from astrbot.api.event importfilter, AstrMessageEvent
Copy file name to clipboardExpand all lines: docs/en/dev/star/guides/simple.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,4 +39,4 @@ Explanation:
39
39
> The file containing the plugin class must be named `main.py`.
40
40
41
41
All handler functions must be written within the plugin class. To keep content concise, in subsequent sections, we may omit the plugin class definition.
0 commit comments