telegram-bot: rewrite to use Pi CLI with streaming JSON output
- Replaced direct Anthropic API with Pi CLI (uses platform auth, no API key needed) - Model: claude-sonnet-4-6 - Streaming JSON mode with live progress updates in Telegram - Per-user session files via Pi's --session/--continue - Auto-recovery from corrupted sessions - 5 min timeout, not-lazy system prompt
This commit is contained in:
@@ -9,6 +9,10 @@ __pycache__/
|
||||
.env
|
||||
|
||||
.pi/agent-sessions/
|
||||
telegram-bot/sessions/
|
||||
telegram-bot/bot.log
|
||||
telegram-bot/bot.err
|
||||
telegram-bot/conversations.json
|
||||
|
||||
|
||||
.playwright-cli/
|
||||
|
||||
Reference in New Issue
Block a user