quantumtaskai-caprover/agents/serializers.py
thecyberlearn b0e8c917ef Initial clean CapRover deployment - no secrets
Complete Django AI agent marketplace with security optimizations
and clean deployment documentation without any API keys or secrets.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 10:50:55 +05:30

13 lines
459 B
Python

from rest_framework import serializers
from .models import AgentExecution
class AgentExecutionSerializer(serializers.ModelSerializer):
# Agent data comes from files via AgentFileService
class Meta:
model = AgentExecution
fields = [
'id', 'agent_slug', 'agent_name', 'input_data', 'output_data', 'status',
'fee_charged', 'error_message', 'execution_time',
'created_at', 'completed_at'
]