feat(M4-009,M4-010,M4-011): routing rules CRUD, per-user overrides, agent capabilities (#320)
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #320.
This commit is contained in:
@@ -74,6 +74,14 @@ export interface ChatMessagePayload {
|
||||
agentId?: string;
|
||||
}
|
||||
|
||||
/** Routing decision summary included in session:info for transparency */
|
||||
export interface RoutingDecisionInfo {
|
||||
model: string;
|
||||
provider: string;
|
||||
ruleName: string;
|
||||
reason: string;
|
||||
}
|
||||
|
||||
/** Session info pushed when session is created or model changes */
|
||||
export interface SessionInfoPayload {
|
||||
conversationId: string;
|
||||
@@ -81,6 +89,8 @@ export interface SessionInfoPayload {
|
||||
modelId: string;
|
||||
thinkingLevel: string;
|
||||
availableThinkingLevels: string[];
|
||||
/** Present when automatic routing determined the model for this session */
|
||||
routingDecision?: RoutingDecisionInfo;
|
||||
}
|
||||
|
||||
/** Client request to change thinking level */
|
||||
|
||||
@@ -9,6 +9,7 @@ export type {
|
||||
ToolEndPayload,
|
||||
SessionUsagePayload,
|
||||
SessionInfoPayload,
|
||||
RoutingDecisionInfo,
|
||||
SetThinkingPayload,
|
||||
ErrorPayload,
|
||||
ChatMessagePayload,
|
||||
|
||||
Reference in New Issue
Block a user