Skip to content

Commit

Permalink
Update lib or docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jan 15, 2025
1 parent 6c8da19 commit 6caada6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/graphai/lib/bundle.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/graphai/lib/bundle.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/graphai/lib/bundle.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/graphai/lib/type.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export type AgentFunctionContext<ParamsType = DefaultParamsType, NamedInputDataT
isResult?: boolean;
};
forNestedGraph?: {
graphData: GraphData;
graphData?: GraphData;
agents: AgentFunctionInfoDictionary;
graphOptions: GraphOptions;
onLogCallback?: (log: TransactionLog, isUpdate: boolean) => void;
Expand Down
18 changes: 2 additions & 16 deletions packages/graphai/lib/utils/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DataSource, AgentFunction, DefaultInputData } from "../type";
import { DataSource, AgentFunction, AgentFunctionInfo, DefaultInputData } from "../type";
export declare const sleep: (milliseconds: number) => Promise<unknown>;
export declare const parseNodeName: (inputNodeId: any, isSelfNode?: boolean) => DataSource;
export declare function assert(condition: boolean, message: string, isWarn?: boolean): asserts condition;
Expand All @@ -18,21 +18,7 @@ export declare const defaultAgentInfo: {
repository: string;
license: string;
};
export declare const agentInfoWrapper: (agent: AgentFunction<any, any, any, any>) => {
name: string;
samples: {
inputs: never[];
params: {};
result: {};
}[];
description: string;
category: never[];
author: string;
repository: string;
license: string;
agent: AgentFunction<any, any, any, any>;
mock: AgentFunction<any, any, any, any>;
};
export declare const agentInfoWrapper: (agent: AgentFunction<any, any, any, any>) => AgentFunctionInfo;
export declare const debugResultKey: (agentId: string, result: any) => string[];
export declare const isLogicallyTrue: (value: any) => boolean;
export declare const defaultTestContext: {
Expand Down

0 comments on commit 6caada6

Please sign in to comment.