feat(agent-model): add per-agent model override with default-reset UX and runtime sync (#651)

This commit is contained in:
Felix
2026-03-25 10:13:11 +08:00
committed by GitHub
Unverified
parent 9d40e1fa05
commit ab8fe760ef
16 changed files with 871 additions and 26 deletions

View File

@@ -3,6 +3,8 @@ export interface AgentSummary {
name: string;
isDefault: boolean;
modelDisplay: string;
modelRef?: string | null;
overrideModelRef?: string | null;
inheritedModel: boolean;
workspace: string;
agentDir: string;
@@ -13,6 +15,7 @@ export interface AgentSummary {
export interface AgentsSnapshot {
agents: AgentSummary[];
defaultAgentId: string;
defaultModelRef?: string | null;
configuredChannelTypes: string[];
channelOwners: Record<string, string>;
channelAccountOwners: Record<string, string>;