agent.py aktualisiert

This commit is contained in:
2026-07-05 13:04:18 +00:00
parent a3daede6b8
commit 9fc64ef496
+6 -5
View File
@@ -13,21 +13,22 @@ class Agent:
self.mcp = MCPClient(MCP_URL)
self.tools = []
# System-Prompt als erste User-Nachricht (Nova 2 Lite kompatibel)
self.messages = [
{
"role": "system",
"role": "user",
"content": [
{
"text": (
"Du bist N.O.R.A, ein Smart-Home Assistent. "
"Du steuerst Geräte über Tools. "
"Nutze Tools wenn sinnvoll. Sei präzise und hilfreich."
"Du bist N.O.R.A, ein freundlicher und kompetenter Smart-Home Assistent "
"für OpenHAB. Du steuerst Geräte und beantwortest Fragen über das Zuhause. "
"Nutze Tools, wenn sinnvoll. Antworte auf Deutsch und sei hilfreich."
)
}
]
}
]
# -------------------------
# TOOL LOADING
# -------------------------