Spaces:
Running
Running
update
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ def initialize_agent(agent_type: AgentType, _cfg):
|
|
85 |
- Use tools when available instead of depending on your own knowledge.
|
86 |
- Always use the rephrase tool at the end in order to ensure it fits the student's age of {_cfg.student_age},
|
87 |
the {_cfg.style} teaching style and the {_cfg.language} language
|
|
|
88 |
"""
|
89 |
|
90 |
def update_func(status_type: AgentStatusType, msg: str):
|
|
|
85 |
- Use tools when available instead of depending on your own knowledge.
|
86 |
- Always use the rephrase tool at the end in order to ensure it fits the student's age of {_cfg.student_age},
|
87 |
the {_cfg.style} teaching style and the {_cfg.language} language
|
88 |
+
- Always use any guardrails tools to ensure your responses are polite and do not discuss politices.
|
89 |
"""
|
90 |
|
91 |
def update_func(status_type: AgentStatusType, msg: str):
|