fix: incorrect receiver and incorrect belief

ref: N25B-300
This commit is contained in:
2025-11-20 15:04:40 +01:00
parent bb3f81d2e8
commit 610c4b526d
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class BDICoreAgent(BaseAgent):
self._add_belief(belief_name, args)
if belief_name == "user_said":
self._add_belief("user_said")
self._add_belief("new_message")
def _add_belief(self, belief_name: str, arguments: Iterable[str] = []):
args = (agentspeak.Literal(arg) for arg in arguments)

View File

@@ -41,7 +41,7 @@ class LLMAgent(BaseAgent):
Sends a response message back to the BDI Core Agent.
"""
reply = InternalMessage(
to=settings.agent_settings.bdi_core_name + "@" + settings.agent_settings.host,
to=settings.agent_settings.bdi_core_name,
sender=self.name,
body=msg,
)