fix: align assistant ui presentation chat
This commit is contained in:
@@ -7,7 +7,10 @@ export type WorkflowToolName =
|
||||
export type PresentationToolName =
|
||||
| "selectWorkflowNode"
|
||||
| "focusOperation"
|
||||
| "showTraceFrame";
|
||||
| "showTraceFrame"
|
||||
| "fetchData"
|
||||
| "transformPayload"
|
||||
| "writeOutput";
|
||||
|
||||
export type AgentToolName = WorkflowToolName | PresentationToolName;
|
||||
|
||||
@@ -53,6 +56,21 @@ export const AGENT_TOOLS = {
|
||||
kind: "presentation",
|
||||
description: "Focus a trace frame in the presentation.",
|
||||
},
|
||||
fetchData: {
|
||||
name: "fetchData",
|
||||
kind: "presentation",
|
||||
description: "Presentation-only placeholder for fetching data in a one-off tool loop.",
|
||||
},
|
||||
transformPayload: {
|
||||
name: "transformPayload",
|
||||
kind: "presentation",
|
||||
description: "Presentation-only placeholder for transforming data in a one-off tool loop.",
|
||||
},
|
||||
writeOutput: {
|
||||
name: "writeOutput",
|
||||
kind: "presentation",
|
||||
description: "Presentation-only placeholder for writing output in a one-off tool loop.",
|
||||
},
|
||||
} satisfies Record<AgentToolName, AgentToolDescriptor>;
|
||||
|
||||
export const isAllowedAgentToolName = (name: string): name is AgentToolName =>
|
||||
|
||||
Reference in New Issue
Block a user