feat: add prompt startup actions and shared vision config
This commit is contained in:
@@ -196,6 +196,19 @@ export type TurnConfig = {
|
||||
};
|
||||
};
|
||||
|
||||
export type StartupAction = {
|
||||
id: string;
|
||||
phase: "preflight" | "opening";
|
||||
toolId: string;
|
||||
arguments: Record<string, unknown>;
|
||||
required: boolean;
|
||||
};
|
||||
|
||||
export type StartupConfig = {
|
||||
executionMode: "sequential";
|
||||
actions: StartupAction[];
|
||||
};
|
||||
|
||||
/** 后端 AssistantOut(宽表 STI:瘦字段平铺,workflow 用 graph)。apiKey 读时打码 */
|
||||
export type Assistant = {
|
||||
id: string;
|
||||
@@ -205,6 +218,7 @@ export type Assistant = {
|
||||
greeting: string;
|
||||
enableInterrupt: boolean;
|
||||
turnConfig: TurnConfig;
|
||||
startup: StartupConfig;
|
||||
visionEnabled: boolean;
|
||||
visionModelResourceId: string | null;
|
||||
modelResourceIds: Partial<Record<ModelType, string>>;
|
||||
|
||||
Reference in New Issue
Block a user