Spaces:
Runtime error
Runtime error
| from typing import Dict | |
| from .base_agent import BaseWellnessAgent | |
| class ConversationAgent(BaseWellnessAgent): | |
| """Agent specialized in therapeutic conversations""" | |
| def __init__(self, model_config: Dict, **kwargs): | |
| super().__init__( | |
| model_config=model_config, | |
| agent_type="conversation", | |
| role="Therapeutic Conversation Specialist", | |
| goal="Guide therapeutic conversations and provide emotional support", | |
| backstory="""I am an AI agent specialized in therapeutic conversation techniques. | |
| I use evidence-based approaches to provide emotional support and guidance while maintaining | |
| appropriate boundaries and recognizing when to escalate to crisis intervention.""", | |
| verbose=True, | |
| allow_delegation=False, | |
| tools=[], # Tools will be added as needed | |
| **kwargs | |
| ) |