docs: telegram adapter design spec + remove soul style presets from mock

This commit is contained in:
Mikhail Putilovskij 2026-03-31 19:49:13 +03:00
parent 67499daa61
commit a3449fc864
3 changed files with 390 additions and 2 deletions

View file

@ -41,7 +41,7 @@ class MessageChunk(BaseModel):
class UserSettings(BaseModel):
skills: dict[str, bool] = {}
connectors: dict[str, dict] = {}
soul: dict[str, str] = {}
soul: dict[str, str] = {} # свободные поля: name, instructions и т.п. — без пресетов стилей
safety: dict[str, bool] = {}
plan: dict[str, Any] = {}

View file

@ -132,7 +132,7 @@ class MockPlatformClient:
"files": True,
}),
connectors=stored.get("connectors", {}),
soul=stored.get("soul", {"name": "Лямбда", "style": "friendly"}),
soul=stored.get("soul", {"name": "Лямбда", "instructions": ""}),
safety=stored.get("safety", {
"email-send": True,
"file-delete": True,