fix: move BDI core agent to make documentation generation better

Previously, the BDI Core Agent wasn't included in the docs.

ref: N25B-299
This commit is contained in:
Twirre Meulenbelt
2025-11-25 12:45:23 +01:00
parent ae7c7a0236
commit 78923d3d07
7 changed files with 6 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
from .bdi_core_agent.bdi_core_agent import BDICoreAgent as BDICoreAgent
from control_backend.agents.bdi.bdi_core_agent import BDICoreAgent as BDICoreAgent
from .belief_collector_agent import (
BDIBeliefCollectorAgent as BDIBeliefCollectorAgent,
)

View File

@@ -165,7 +165,7 @@ class LLMAgent(BaseAgent):
:yield: Raw text tokens (deltas) from the SSE stream.
:raises httpx.HTTPError: If the API returns a non-200 status.
"""
async with httpx.AsyncClient(timeout=None) as client:
async with httpx.AsyncClient() as client:
async with client.stream(
"POST",
settings.llm_settings.local_llm_url,

View File

@@ -87,12 +87,10 @@ class LLMSettings(BaseModel):
:ivar local_llm_url: URL for the local LLM API.
:ivar local_llm_model: Name of the local LLM model to use.
:ivar request_timeout_s: Timeout in seconds for LLM requests.
"""
local_llm_url: str = "http://localhost:11434/v1/chat/completions"
local_llm_url: str = "http://localhost:1234/v1/chat/completions"
local_llm_model: str = "gpt-oss"
request_timeout_s: int = 10
class VADSettings(BaseModel):

View File

@@ -117,7 +117,7 @@ async def lifespan(app: FastAPI):
BDICoreAgent,
{
"name": settings.agent_settings.bdi_core_name,
"asl": "src/control_backend/agents/bdi/bdi_core_agent/rules.asl",
"asl": "src/control_backend/agents/bdi/rules.asl",
},
),
"BeliefCollectorAgent": (