feat(frontends): vault root for the api graph
This commit is contained in:
@@ -15,7 +15,7 @@ from beaver_gateway.frontends.telegram import Attachments, TelegramFrontend
|
|||||||
from beaver_gateway.frontends.turn_record import slugify
|
from beaver_gateway.frontends.turn_record import slugify
|
||||||
|
|
||||||
from beaver_agent import texts
|
from beaver_agent import texts
|
||||||
from beaver_agent.vault import ATTACHMENTS, BEAVER, CHATS, TZ
|
from beaver_agent.vault import ATTACHMENTS, BEAVER, CHATS, TZ, VAULT
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
@@ -53,7 +53,12 @@ frontends: list[Frontend] = [
|
|||||||
AnthropicMessagesFrontend(),
|
AnthropicMessagesFrontend(),
|
||||||
McpServerFrontend(),
|
McpServerFrontend(),
|
||||||
AdminFrontend(),
|
AdminFrontend(),
|
||||||
ApiFrontend(master_agent=DISPATCHER, branch_agent=DISPATCHER, memory_root=BEAVER),
|
ApiFrontend(
|
||||||
|
master_agent=DISPATCHER,
|
||||||
|
branch_agent=DISPATCHER,
|
||||||
|
memory_root=BEAVER,
|
||||||
|
vault_root=VAULT,
|
||||||
|
),
|
||||||
MarkdownFrontend(
|
MarkdownFrontend(
|
||||||
vault_path=CHATS, default_agent=DEEP, log_all_chats=True, chat_path=chat_path
|
vault_path=CHATS, default_agent=DEEP, log_all_chats=True, chat_path=chat_path
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user