@xynehq/jaf
Version:
Juspay Agent Framework - A purely functional agent framework with immutable state and composable tools
22 lines • 725 B
TypeScript
import { ModelProvider, RunState, Agent, RunConfig } from '../core/types.js';
export declare class MockModelProvider<Ctx> implements ModelProvider<Ctx> {
getCompletion(state: Readonly<RunState<Ctx>>, agent: Readonly<Agent<Ctx, any>>, config: Readonly<RunConfig<Ctx>>): Promise<{
message: {
content: string;
tool_calls: {
id: string;
type: "function";
function: {
name: string;
arguments: string;
};
}[];
};
} | {
message: {
content: string;
tool_calls?: undefined;
};
}>;
}
//# sourceMappingURL=mock-provider.d.ts.map