mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 11:12:55 +00:00
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>
13 lines
459 B
Python
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'
|
|
] |