fix(control-ui): add agentId to DEFAULT_ASSISTANT_IDENTITY
TypeScript inferred the union type without agentId when falling back to DEFAULT_ASSISTANT_IDENTITY, causing build errors at control-ui.ts:222-223.
This commit is contained in:
parent
8b3e3a4b96
commit
fd3c76cad3
@ -7,7 +7,8 @@ import { normalizeAgentId } from "../routing/session-key.js";
|
|||||||
const MAX_ASSISTANT_NAME = 50;
|
const MAX_ASSISTANT_NAME = 50;
|
||||||
const MAX_ASSISTANT_AVATAR = 200;
|
const MAX_ASSISTANT_AVATAR = 200;
|
||||||
|
|
||||||
export const DEFAULT_ASSISTANT_IDENTITY = {
|
export const DEFAULT_ASSISTANT_IDENTITY: AssistantIdentity = {
|
||||||
|
agentId: "main",
|
||||||
name: "Assistant",
|
name: "Assistant",
|
||||||
avatar: "A",
|
avatar: "A",
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user