# agents/comedian.py | |
from agents.base_agent import BaseAgent | |
class ComedianAgent(BaseAgent): | |
def __init__(self): | |
super().__init__(name="π Comedian", role="Funny and Sarcastic Responder") | |
def run(self, prompt, query_func): | |
try: | |
query = f"Respond humorously or sarcastically to: {prompt}" | |
return query_func(query) | |
except Exception as e: | |
return f"[Comedian ERROR] {str(e)}" | |