mirror of
https://github.com/thecyberlearn/quantum-ai.git
synced 2026-08-18 13:32:59 +00:00
- Replace legacy agents system with modular individual agent apps - Add agent_base framework for BaseAgent, processors, and management commands - Create weather_reporter as example individual agent with API integration - Implement simplified template structure: agent_name/templates/detail.html - Fix marketplace to display actual agents instead of placeholder - Add proper authentication flow with login redirect for agent access - Organize project structure: move tests to tests/, docs to docs/ - Update all documentation to reflect new simplified architecture - Fix URL namespace issues throughout templates and views 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
777 B
Python
30 lines
777 B
Python
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
import django
|
|
|
|
# Add the project root to Python path
|
|
sys.path.insert(0, '/home/amit/projects/netcop_django')
|
|
|
|
# Set Django settings
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'netcop_hub.settings')
|
|
django.setup()
|
|
|
|
from agent_base.models import BaseAgent
|
|
|
|
print("🔍 Checking agents in database:")
|
|
print("=" * 40)
|
|
|
|
agents = BaseAgent.objects.all()
|
|
if agents:
|
|
for agent in agents:
|
|
print(f"✅ {agent.name} ({agent.slug})")
|
|
print(f" Category: {agent.category}")
|
|
print(f" Price: {agent.price} AED")
|
|
print(f" Type: {agent.agent_type}")
|
|
print(f" Active: {agent.is_active}")
|
|
print()
|
|
else:
|
|
print("❌ No agents found in database")
|
|
|
|
print(f"Total agents: {agents.count()}") |