style: tiny style fixes

This commit is contained in:
Twirre Meulenbelt
2025-10-29 13:55:18 +01:00
parent 91df16ebbc
commit 5f2fd11a33
3 changed files with 3 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
import asyncio
import logging
import agentspeak
import spade_bdi.bdi
from spade.behaviour import OneShotBehaviour
from spade.message import Message
from spade_bdi.bdi import BDIAgent

View File

@@ -60,7 +60,7 @@ class BeliefSetterBehaviour(CyclicBehaviour):
for belief, arguments in beliefs.items():
self.agent.bdi.set_belief(belief, *arguments)
# Special case: if there's a new user message, we need to flag that we haven't responded yet
# Special case: if there's a new user message, flag that we haven't responded yet
if belief == "user_said":
try:
self.agent.bdi.remove_belief("responded")