refactor: testing

Redid testing structure, added tests and changed some tests.

ref: N25B-301
This commit is contained in:
2025-11-21 17:03:40 +01:00
parent 97f5f5c74d
commit 5fb923e20d
20 changed files with 661 additions and 533 deletions

View File

@@ -1,4 +1,5 @@
import asyncio
import copy
import json
from collections.abc import Iterable
@@ -19,7 +20,8 @@ class BDICoreAgent(BaseAgent):
super().__init__(name)
self.asl_file = asl
self.env = agentspeak.runtime.Environment()
self.actions = agentspeak.stdlib.actions
# Deep copy because we don't actually want to modify the standard actions globally
self.actions = copy.deepcopy(agentspeak.stdlib.actions)
async def setup(self) -> None:
self.logger.debug("Setup started.")

View File

@@ -75,7 +75,7 @@ class Settings(BaseSettings):
llm_settings: LLMSettings = LLMSettings()
model_config = SettingsConfigDict(env_file=".env")
model_config = SettingsConfigDict(env_file=".env", env_nested_delimiter="__")
settings = Settings()