🎯 Keep only working agents and simplify marketplace view

- Removed non-working agents (five-whys, weather-reporter, template-demo)
- Kept only 3 working agents: social-ads-generator, job-posting-generator, data-analyzer
- Updated marketplace to show clean grid without category headings when "All" is selected
- Users can still filter by categories, but default view is uncluttered
- Updated quick agents panel to show only working agents

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude 2025-07-29 20:04:46 +05:30
parent ec42b51d7f
commit bc160b1628
5 changed files with 70 additions and 69 deletions

View File

@ -681,4 +681,4 @@ curl http://localhost:8000/health/
Always run `python manage.py check_db` before making database-related changes to ensure proper configuration. Always run `python manage.py check_db` before making database-related changes to ensure proper configuration.
--- ---
Last updated: Last updated: Last updated: Last updated: Last updated: Last updated: 2025-07-29 19:33:01 Last updated: Last updated: Last updated: Last updated: Last updated: Last updated: Last updated: 2025-07-29 19:57:24

View File

@ -1,24 +1,45 @@
=== Documentation Auto-Update Summary === === Documentation Auto-Update Summary ===
Update Date: 2025-07-29 19:33:01 Update Date: 2025-07-29 19:57:24
Recent Commits: Recent Commits:
- ec42b51 🗑️ Complete agent_base app removal and legacy cleanup
- 73d5141 ✅ All agents working: Direct N8N integration, fixed routing, and pricing sync - 73d5141 ✅ All agents working: Direct N8N integration, fixed routing, and pricing sync
- adab6e4 🧹 Complete template component architecture and remove notification noise - adab6e4 🧹 Complete template component architecture and remove notification noise
- bf1e882 🔄 Finalize auto-documentation cycle
Agents Changes: Agents Changes:
- workflows/config/agents.py - agent_base/__init__.py
- workflows/templates/workflows/components/quick_agents_panel.html - agent_base/admin.py
- agent_base/apps.py
- agent_base/generators/__init__.py
- agent_base/generators/admin.py
Core Changes: Core Changes:
- netcop_hub/urls.py - core/views.py
- data_analyzer/urls.py
- data_analyzer/views.py
- email_writer/urls.py
- email_writer/views.py
Documentation Changes:
- CLAUDE.md
- data_analyzer/n8n_workflows/README.md
- five_whys_analyzer/n8n_workflows/README.md
- job_posting_generator/n8n_workflows/README.md
- social_ads_generator/n8n_workflows/README.md
Frontend Changes: Frontend Changes:
- static/js/data-analyzer.js - data_analyzer/n8n_workflows/pdf_data_analyzer.json
- static/js/job-posting-generator.js - data_analyzer/templates/data_analyzer/detail.html
- static/js/social-ads.js - email_writer/templates/email_writer/detail.html
- workflows/templates/workflows/data-analyzer.html - five_whys_analyzer/n8n_workflows/5_whys.json
- workflows/templates/workflows/job-posting-generator.html - five_whys_analyzer/templates/five_whys_analyzer/detail.html
Backend Changes:
- data_analyzer/__init__.py
- data_analyzer/admin.py
- data_analyzer/apps.py
- data_analyzer/management/__init__.py
- data_analyzer/management/commands/__init__.py
Updated Documentation Files: Updated Documentation Files:
- /home/amit/projects/quantum_ai_v2/CLAUDE.md - /home/amit/projects/quantum_ai_v2/CLAUDE.md

View File

@ -7,7 +7,6 @@ AGENT_CONFIGS = {
'social-ads-generator': { 'social-ads-generator': {
'name': 'Social Ads Generator', 'name': 'Social Ads Generator',
'description': 'Create engaging social media advertisements with AI-powered content generation', 'description': 'Create engaging social media advertisements with AI-powered content generation',
'category': 'marketing',
'price': 6.0, 'price': 6.0,
'icon': '📱', 'icon': '📱',
'webhook_url': 'http://localhost:5678/webhook/2dc234d8-7217-454a-83e9-81afe5b4fe2d', 'webhook_url': 'http://localhost:5678/webhook/2dc234d8-7217-454a-83e9-81afe5b4fe2d',
@ -16,46 +15,18 @@ AGENT_CONFIGS = {
'job-posting-generator': { 'job-posting-generator': {
'name': 'Job Posting Generator', 'name': 'Job Posting Generator',
'description': 'Create professional job postings that attract top talent', 'description': 'Create professional job postings that attract top talent',
'category': 'content',
'price': 10.0, 'price': 10.0,
'icon': '💼', 'icon': '💼',
'webhook_url': 'http://localhost:5678/webhook/43f84411-eaaa-488c-9b1f-856e90d0aaf6', 'webhook_url': 'http://localhost:5678/webhook/43f84411-eaaa-488c-9b1f-856e90d0aaf6',
}, },
'five-whys-analyzer': {
'name': 'Five Whys Analyzer',
'description': 'Perform root cause analysis using the Five Whys methodology',
'category': 'analytics',
'price': 2.5,
'icon': '🔍',
'webhook_url': 'http://localhost:5678/webhook/five-whys-webhook-id',
},
'weather-reporter': {
'name': 'Weather Reporter',
'description': 'Get detailed weather reports and forecasts for any location',
'category': 'utilities',
'price': 1.0,
'icon': '🌤️',
'webhook_url': 'http://localhost:5678/webhook/weather-webhook-id',
},
'template-demo': {
'name': 'Template Demo',
'description': 'Demo of the fixed agent template starter with all enhancements',
'category': 'demo',
'price': 0.5,
'icon': '🎯',
'webhook_url': 'http://localhost:5678/webhook/template-demo',
},
'data-analyzer': { 'data-analyzer': {
'name': 'Data Analyzer', 'name': 'Data Analyzer',
'description': 'AI-powered analysis of your data files with comprehensive insights', 'description': 'AI-powered analysis of your data files with comprehensive insights',
'category': 'analytics',
'price': 8.0, 'price': 8.0,
'icon': '📊', 'icon': '📊',
'webhook_url': 'http://localhost:5678/webhook/simple-pdf-processor', 'webhook_url': 'http://localhost:5678/webhook/simple-pdf-processor',
} },
} }

View File

@ -18,25 +18,9 @@
</a> </a>
{% endfor %} {% endfor %}
{% else %} {% else %}
<!-- Fallback to hardcoded agents if available_agents not provided --> <!-- Fallback to hardcoded working agents if available_agents not provided -->
<a href="/agents/data-analyzer/" class="quick-agent-card">
<div class="agent-icon">📊</div>
<div class="agent-info">
<h4>Data Analyzer</h4>
<p>AI-powered data analysis</p>
</div>
</a>
<a href="/agents/weather-reporter/" class="quick-agent-card">
<div class="agent-icon">🌤️</div>
<div class="agent-info">
<h4>Weather Reporter</h4>
<p>Worldwide weather forecasts</p>
</div>
</a>
<a href="/agents/social-ads-generator/" class="quick-agent-card"> <a href="/agents/social-ads-generator/" class="quick-agent-card">
<div class="agent-icon">📢</div> <div class="agent-icon">📱</div>
<div class="agent-info"> <div class="agent-info">
<h4>Social Ads Generator</h4> <h4>Social Ads Generator</h4>
<p>Create social media ads</p> <p>Create social media ads</p>
@ -51,11 +35,11 @@
</div> </div>
</a> </a>
<a href="/agents/five-whys-analyzer/" class="quick-agent-card"> <a href="/agents/data-analyzer/" class="quick-agent-card">
<div class="agent-icon">🤔</div> <div class="agent-icon">📊</div>
<div class="agent-info"> <div class="agent-info">
<h4>Five Whys Analyzer</h4> <h4>Data Analyzer</h4>
<p>Problem analysis method</p> <p>AI-powered data analysis</p>
</div> </div>
</a> </a>
{% endif %} {% endif %}

View File

@ -317,6 +317,30 @@
<!-- Agents Grid --> <!-- Agents Grid -->
{% if agents_by_category %} {% if agents_by_category %}
{% if not selected_category %}
<!-- Show all agents without category headings when "All" is selected -->
<div class="agents-grid">
{% for category, agents in agents_by_category.items %}
{% for agent in agents %}
<a href="{% url 'workflows:agent' agent.slug %}" class="agent-card">
<div class="agent-header">
<div class="agent-icon">{{ agent.icon }}</div>
<div class="agent-info">
<h3>{{ agent.name }}</h3>
<p class="agent-price">{{ agent.price }} AED</p>
</div>
</div>
<p class="agent-description">{{ agent.description }}</p>
<div class="agent-footer">
<span class="agent-category">{{ agent.category }}</span>
<button class="try-btn">Try Now →</button>
</div>
</a>
{% endfor %}
{% endfor %}
</div>
{% else %}
<!-- Show agents with category headings when specific category is selected -->
{% for category, agents in agents_by_category.items %} {% for category, agents in agents_by_category.items %}
<div class="category-section"> <div class="category-section">
<h2 class="category-title">{{ category }}</h2> <h2 class="category-title">{{ category }}</h2>
@ -340,6 +364,7 @@
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
{% endif %}
{% else %} {% else %}
<div class="no-results"> <div class="no-results">
<div class="no-results-icon">🔍</div> <div class="no-results-icon">🔍</div>