@xynehq/jaf
Version:
Juspay Agent Framework - A purely functional agent framework with immutable state and composable tools
8 lines • 401 B
TypeScript
import { RunConfig, RunState } from './types.js';
export type ToolRuntime<Ctx> = {
readonly state: RunState<Ctx>;
readonly config: RunConfig<Ctx>;
};
export declare function setToolRuntime<Ctx>(context: Readonly<Ctx>, runtime: ToolRuntime<Ctx>): void;
export declare function getToolRuntime<Ctx>(context: Readonly<Ctx>): ToolRuntime<Ctx> | undefined;
//# sourceMappingURL=tool-runtime.d.ts.map