Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
removes __ inputs from visualiation
elijahbenizzyd5523a7554f8
diff --git a/telemetry/ui/src/components/routes/app/GraphView.tsx b/telemetry/ui/src/components/routes/app/GraphView.tsxindex c7aa0391..388a4e0b 100644--- a/telemetry/ui/src/components/routes/app/GraphView.tsx+++ b/telemetry/ui/src/components/routes/app/GraphView.tsx@@ -246,6 +246,7 @@ const getLayoutedElements = (};const convertApplicationToGraph = (stateMachine: ApplicationModel): [NodeType[], EdgeType[]] => {+ const shouldDisplayInput = (input: string) => !input.startsWith('__');const inputUniqueID = (action: ActionModel, input: string) => `${action.name}:${input}`; // Currently they're distinct by nameconst allActionNodes = stateMachine.actions.map((action) => ({@@ -255,7 +256,7 @@ const convertApplicationToGraph = (stateMachine: ApplicationModel): [NodeType[],position: { x: 0, y: 0 }}));const allInputNodes = stateMachine.actions.flatMap((action) =>- (action.inputs || []).map((input) => ({+ (action.inputs || []).filter(shouldDisplayInput).map((input) => ({id: inputUniqueID(action, input),type: 'externalInput',data: { input, label: input },@@ -263,7 +264,7 @@ const convertApplicationToGraph = (stateMachine: ApplicationModel): [NodeType[],})));const allInputTransitions = stateMachine.actions.flatMap((action) =>- (action.inputs || []).map((input) => ({+ (action.inputs || []).filter(shouldDisplayInput).map((input) => ({id: `${action.name}:${input}-${action.name}`,source: inputUniqueID(action, input),target: action.name,