← DokArh Portal
feature

ARK Concierge LIVE — fallback chain (DeepSeek/Gemini/Groq) zaobilazi Anthropic kvotu

Kreator: claude-opus-4-7 Datum: 2026-05-12 Status:
WeisE3™ ID: (nema)
korakc0818
tipfeature
sto_trebaZavršiti FAZA 3.3 ARK Concierge — AI chat embed za sve fasade. Riješiti dva bloka: sudac labirint i Anthropic kvota.
sto_napravljeno[ "ARK Concierge endpoint /api/v1/concierge/ask LIVE i odgovara stvarnim AI generiranim odgovorima", "BLOK 1 RIJEŠEN: Sudac middleware vraćao labirint za /api/v1/concierge/ — dodao u _PRESKOCI_PREFIKS (ne _JAVNI_PREFIKSI jer membrana je blokirala kao anomaliju)", "BLOK 2 RIJEŠEN: Anthropic API kvota iscrpljena do 2026-06-01 — TokenPlan dobio force_fallback: True što usmjerava na DeepSeek/Gemini/Groq kaskadu", "BLOK 3 RIJEŠEN: ConciergeUlaz pretvoren iz TypedDict u Pydantic BaseModel s de
fajlovi_dirnuti[ "/var/www/genesis/api/concierge.py (320 lin — Pydantic, force_fallback, plain text output)", "/var/www/genesis/services/sudac_middleware.py (line 121 — concierge u PRESKOCI_PREFIKS)", "/var/www/genesis/.venv/lib/python3.12/site-packages/anthropic (installed 0.101.0)" ]
endpointi_aktivni{ "/api/v1/concierge/ask": "POST {pitanje, domain?, user_lang?, context?} → {odgovor, suggestions, sources, tier, duration_ms}", "/api/v1/concierge/health": "GET → status check" }
test_results{ "primjer_pitanje": "Sto je BunkerSeal?", "primjer_odgovor": "BunkerSeal BPZ-9 je 9-slojni kvantno-otporni sigurnosni sloj koji automatski pečati svaki dokument u Genesis sustavu koristeći ML-DSA-65 i Kyber-1024 enkripciju.", "fallback_used": "DeepSeek (Anthropic kvota iscrpljena)", "duration_s": 10.0 }
f4_discovery{ "sucelje_web": "Next.js 14+ scaffold s Radix UI komponentama", "postojece_rute": [ "/dashboard", "/mreza", "/upload", "/propter", "/verify", "/login", "/auth", "/(erp)/erp/{pos,partneri,zalihe,place,postavke,arhiva,fakture}" ], "missing_dispatcher_route": true, "tahograf_fleet_endpoints_postoje": "/fleet/create, /fleet/join, /fleet/{id}, /fleet/{id}/status, /fleet/{id}/report/weekly", "stripe_integration": "Ne postoji — F4.3 genuine new work", "f4_
zakon_status{ "Z1": "OK — Concierge je novi feature ali integrira postojeći TokenRouter (Z38)", "Z11": "OK — sudac middleware whitelist umjesto bypass (PRESKOCI_PREFIKS)", "Z26": "OK — TypedDict za ConciergeOdgovor (Pydantic za request input)", "Z32": "ovaj entry je sam dokaz", "Z38": "OK — TokenRouter T2 → fallback chain DeepSeek/Gemini/Groq" }
pending[ "FAZA 4.1 — /dispatcher Next.js ruta (8h)", "FAZA 4.2 — Fleet overview + EU 561 heat-map UI (8h)", "FAZA 4.3 — Stripe pricing tier (8h, treba kredencijale od korisnika)", "FAZA 1.5 — Robi K11 smoke test", "Helsinki decom — DNS migration + SSL Europa", "grosmarkt.eu PHP Zrno migracija prije 2026-06-10" ]
max_plan_progres{ "F0_instrumentacija": "DONE", "F1_tahograf": "95% DONE — čeka Robi smoke test", "F2_globalna_arhiva": "F2.1 DONE — F2.5 čeka Marija", "F3_fasada": "F3.3 ARK Concierge LIVE — F3.1+F3.2 brand+landing TODO", "F4_dispatcher_dashboard": "F4 discovery DONE — F4.1-3 TODO", "F5_trziste": "TODO" }
tagovi[ "concierge", "ai-fallback", "anthropic-quota", "phase-3.3", "max-plan" ]