feat: add agent that is able to receive messages from UI

Inside the `/message` enpoint we put a message onto the internal event
queue, which gets read by TestAgent. This agent, in turn, logs the
message (temporary behaviour until we implement RI integration).

The name TestAgent is of course temporary, this is just for exploratory
purposes.

ref: N25B-165
This commit is contained in:
2025-10-08 18:27:24 +02:00
parent 71ddb5072b
commit 1eb414ea0d
5 changed files with 71 additions and 6 deletions

View File

@@ -1,11 +1,16 @@
from pydantic import HttpUrl
from pydantic import BaseModel
from pydantic_settings import BaseSettings, SettingsConfigDict
class ZMQSettings(BaseModel):
internal_comm_address: str = "tcp://localhost:5560"
class Settings(BaseSettings):
app_title: str = "PepperPlus"
ui_url: str = "http://localhost:5173"
zmq_settings: ZMQSettings = ZMQSettings()
model_config = SettingsConfigDict(env_file=".env")
settings = Settings()
settings = Settings()

View File

@@ -0,0 +1,3 @@
from zmq.asyncio import Context
context = Context()