mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 12:32:58 +00:00
- Remove job-posting-generator.js and social-ads.js custom files - All webhook agents now use unified agents-core.js system - Consistent behavior: Form → Django API → N8N → Results - Fixes job posting and social ads result display issues - Simplifies maintenance with single JavaScript codebase - Aligns with file-based agent creation goal (JSON only) ✅ All 4 webhook agents now work consistently ✅ All 5 direct access agents use generic handlers ✅ Agent creation: Just add JSON file, no custom code needed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
925 B
Python
41 lines
925 B
Python
"""
|
|
Agents views - Main imports and legacy compatibility.
|
|
This file now imports from focused modules for better code organization.
|
|
"""
|
|
|
|
# Import all views from specialized modules for backwards compatibility
|
|
from .api_views import (
|
|
execute_agent,
|
|
execution_list,
|
|
execution_detail
|
|
)
|
|
|
|
from .chat_views import (
|
|
start_chat_session,
|
|
send_chat_message,
|
|
get_chat_history,
|
|
end_chat_session,
|
|
get_session_status,
|
|
export_chat
|
|
)
|
|
|
|
from .web_views import (
|
|
agents_marketplace,
|
|
agent_detail_view,
|
|
chat_agent_view
|
|
)
|
|
|
|
from .direct_access_views import (
|
|
direct_access_handler,
|
|
direct_access_display
|
|
)
|
|
|
|
# Import utility functions for backwards compatibility
|
|
from .utils import (
|
|
validate_webhook_url,
|
|
format_agent_message,
|
|
AgentCompat
|
|
)
|
|
|
|
# All functionality is now available through focused modules
|
|
# This maintains backwards compatibility while improving code organization |