refactor: use a single agent model path
This commit is contained in:
@@ -3,14 +3,13 @@
|
||||
## Responsibility split
|
||||
|
||||
Open WebUI is the product shell. It owns account registration, login sessions,
|
||||
RBAC, administrator approval, conversation history, rendering, and the Chat
|
||||
mode Agent loop. K1412 does not fork those responsibilities into a second
|
||||
authentication or chat database.
|
||||
RBAC, administrator approval, conversation history, and rendering. K1412 does
|
||||
not fork those responsibilities into a second authentication or chat database.
|
||||
|
||||
K1412 Runtime owns Work mode: context selection, durable Work memory, planning,
|
||||
tool schemas, scheduling, parallel reads, child Agents, evidence gating,
|
||||
experiments, and run-event persistence. Workspace Gateway owns identity-bound
|
||||
execution policy and Docker lifecycle.
|
||||
K1412 Runtime owns the only user-facing Agent loop: context selection, durable
|
||||
memory, planning, tool schemas, scheduling, parallel reads, child Agents,
|
||||
evidence gating, experiments, and run-event persistence. Workspace Gateway
|
||||
owns identity-bound execution policy and Docker lifecycle.
|
||||
|
||||
This split makes the expensive experimental surface small. A new scheduler or
|
||||
context policy changes Runtime, not the account system or entire frontend.
|
||||
@@ -19,7 +18,7 @@ context policy changes Runtime, not the account system or entire frontend.
|
||||
|
||||
Open WebUI natively understands tool-call and reasoning detail blocks. It also
|
||||
has a richer live status mechanism for loops that execute inside its own
|
||||
backend. Work is an external OpenAI-compatible provider, so it cannot mutate
|
||||
backend. K1412 Runtime is an external OpenAI-compatible provider, so it cannot mutate
|
||||
Open WebUI's internal socket status objects directly.
|
||||
|
||||
K1412 therefore emits Open WebUI-compatible completed tool detail blocks. Each
|
||||
@@ -52,8 +51,8 @@ Upgrading Open WebUI requires:
|
||||
1. updating the tag and commit pin;
|
||||
2. replaying every patch with `git apply`;
|
||||
3. building the Svelte production bundle;
|
||||
4. running authentication, Chat, Work, and file-browser E2E tests;
|
||||
4. running authentication, Agent-loop, isolation, and file-browser E2E tests;
|
||||
5. reviewing upstream license changes.
|
||||
|
||||
The K1412 Agent loop is not embedded into Open WebUI, so most Work experiments
|
||||
The K1412 Agent loop is not embedded into Open WebUI, so most Agent experiments
|
||||
do not incur this upgrade cost.
|
||||
|
||||
Reference in New Issue
Block a user