mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-13 12:33:15 +02:00
New pybitblock/ai/ package integrating with Astrolexis AI Gateway at https://api.astrolexis.space: - client.py: API client for auth, top-up (Lightning), chat (SSE streaming), and usage tracking - context.py: Gathers Bitcoin/Lightning node data (via CLI, RPC, or mempool.space API) for AI context injection - ui.py: Terminal chat interface with conversation history, Lightning top-up flow with QR codes, usage stats display, and first-time token setup Accessible from Main Menu as "I - AI Assistant". All queries go through Astrolexis gateway — user pays in sats via Lightning. Token stored in pyblocksettings.conf. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 lines
89 B
Python
3 lines
89 B
Python
"""AI Assistant for PyBLOCK — powered by Astrolexis KCode."""
|
|
|
|
from .ui import ai_menu
|