mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-06-30 07:15:30 +02:00
feat: 2026 UI overhaul, stability fixes, and NVIDIA NIM support
- Overhauled frontend with 2026 hacking HUD aesthetic (neon colors, glassmorphism) - Added native support for NVIDIA NIM as a Tier 2 provider - Fixed critical backend crashes in autonomous_agent.py and knowledge_processor.py - Updated Kali sandbox build to Go 1.26 and fixed health check reliability - Integrated Space Grotesk and JetBrains Mono fonts
This commit is contained in:
+6
-2
@@ -128,11 +128,15 @@ async def health_check():
|
||||
# Check LLM availability
|
||||
anthropic_key = os.getenv("ANTHROPIC_API_KEY", "")
|
||||
openai_key = os.getenv("OPENAI_API_KEY", "")
|
||||
nim_key = os.getenv("NIM_API_KEY", "")
|
||||
|
||||
llm_status = "not_configured"
|
||||
llm_provider = None
|
||||
|
||||
if anthropic_key and anthropic_key not in ["", "your-anthropic-api-key"]:
|
||||
if nim_key and nim_key not in ["", "your-nim-api-key"]:
|
||||
llm_status = "configured"
|
||||
llm_provider = "nim"
|
||||
elif anthropic_key and anthropic_key not in ["", "your-anthropic-api-key"]:
|
||||
llm_status = "configured"
|
||||
llm_provider = "claude"
|
||||
elif openai_key and openai_key not in ["", "your-openai-api-key"]:
|
||||
@@ -146,7 +150,7 @@ async def health_check():
|
||||
"llm": {
|
||||
"status": llm_status,
|
||||
"provider": llm_provider,
|
||||
"message": "AI agent ready" if llm_status == "configured" else "Set ANTHROPIC_API_KEY or OPENAI_API_KEY to enable AI features"
|
||||
"message": "AI agent ready" if llm_status == "configured" else "Set ANTHROPIC_API_KEY, OPENAI_API_KEY or NIM_API_KEY to enable AI features"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user