IA : Claude substitut Qwen + auth rate limit prototype
- qualify_ai_service : ai_frame_async() avec Claude Haiku · round 1 → questions contextualisées si ANTHROPIC_API_KEY définie · round 2 → explication enrichie par Claude · fallback transparent sur ai_frame() si pas de clé (tests inchangés) - config : ANTHROPIC_API_KEY + ANTHROPIC_MODEL (claude-haiku-4-5-20251001) - requirements : anthropic>=0.97.0 - main : auth rate limit = RATE_LIMIT_DEFAULT partout (prototype mode) → supporte accès démo/test sans lockout en prod comme en dev Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ substrate-interface==1.7.10
|
||||
py-sr25519-bindings==0.2.1
|
||||
base58==2.1.1
|
||||
httpx==0.28.1
|
||||
anthropic>=0.97.0
|
||||
aioipfs==0.7.1
|
||||
pytest==8.3.4
|
||||
pytest-asyncio==0.24.0
|
||||
|
||||
Reference in New Issue
Block a user