quantum-ai-v3/workflows/urls.py
Claude ec42b51d7f 🗑️ Complete agent_base app removal and legacy cleanup
- Removed entire agent_base app and all legacy individual agent apps
- Updated core views to use workflows config instead of database models
- Fixed all template references to use workflows:marketplace
- Removed agent_base logging configuration from settings
- Created unified marketplace in workflows app using AGENT_CONFIGS
- All 6 agents now working through unified workflows system
- Direct N8N integration without Django fallbacks
- Simplified architecture with single source of truth for agent metadata

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 19:57:24 +05:30

20 lines
678 B
Python

from django.urls import path, re_path
from . import views
app_name = 'workflows'
urlpatterns = [
# Marketplace view at /agents/
path('', views.marketplace_view, name='marketplace'),
# Universal agent handler - matches any agent slug
re_path(r'^(?P<agent_slug>[\w-]+)/$', views.workflow_handler, name='agent'),
# API endpoints
path('api/process/', views.process_workflow_api, name='process_api'),
path('api/status/<uuid:request_id>/', views.workflow_status, name='status'),
# User workflow management
path('history/', views.user_workflows, name='history'),
path('analytics/', views.workflow_analytics, name='analytics'),
]