mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 17:52:58 +00:00
- Create complete REST API-based agents system for scalability - Implement Social Ads Generator with dynamic form rendering - Add agents marketplace with search and category filtering - Build real-time wallet balance updates after execution - Fix URL routing conflicts and API endpoint issues - Add comprehensive N8N webhook integration with proper payload format - Create dynamic template system for 100+ agent scalability Features: - Database-driven agent management via Django admin - JSON schema-based dynamic form generation - Real-time wallet balance deduction and display updates - Comprehensive error handling and validation - Mobile-responsive marketplace UI - Complete API endpoints for frontend integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
739 B
Python
19 lines
739 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'agents'
|
|
|
|
urlpatterns = [
|
|
# Web interface
|
|
path('', views.agents_marketplace, name='marketplace'),
|
|
|
|
# API endpoints - specific URLs first to avoid slug conflicts
|
|
path('api/execute/', views.execute_agent, name='execute_agent'),
|
|
path('api/executions/', views.execution_list, name='execution_list'),
|
|
path('api/executions/<uuid:execution_id>/', views.execution_detail, name='execution_detail'),
|
|
path('api/', views.agent_list, name='agent_list'),
|
|
path('api/<slug:slug>/', views.agent_detail, name='agent_detail_api'),
|
|
|
|
# Agent detail page (must be last to avoid conflicts)
|
|
path('<slug:slug>/', views.agent_detail_view, name='detail'),
|
|
] |