mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat(channels): add crash recovery and gateway mode support
- Add session persistence to SessionRouter for crash recovery - Add loadSession method to AcpBridge for restoring sessions - Add ChannelBaseOptions to support external router injection - Refactor start.ts to support both standalone and gateway modes - Extract config utilities into separate module This enables channels to recover sessions after bridge crashes and supports running multiple channels under a gateway process. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
f6ae769736
commit
1a605ec973
11 changed files with 567 additions and 161 deletions
|
|
@ -57,7 +57,11 @@ Or add it to a `.env` file that gets sourced before running.
|
|||
## Running
|
||||
|
||||
```bash
|
||||
# Start only the Telegram channel
|
||||
qwen channel start my-telegram
|
||||
|
||||
# Or start all configured channels together
|
||||
qwen channel start
|
||||
```
|
||||
|
||||
Then open your bot in Telegram and send a message. You should see "Working..." appear immediately, followed by the agent's response.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue