Sebas Tin angelegt und Synology Chat connected

This commit is contained in:
Sithies
2026-03-16 21:13:37 +01:00
parent f686c4c6e2
commit 204b2d6eb1
19 changed files with 907 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
use crate::types::{AgentId, SkillId, MemoryId, Result};
pub trait Agent: Send + Sync {
fn id(&self) -> AgentId;
fn name(&self) -> &str;
}
pub trait Skill: Send + Sync {
fn id(&self) -> &SkillId;
fn name(&self) -> &str;
}
pub trait MemoryStore: Send + Sync {
fn store(&self, content: &str) -> Result<MemoryId>;
fn retrieve(&self, id: &MemoryId) -> Result<Option<String>>;
}