We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 655ca5b commit d0bf90fCopy full SHA for d0bf90f
1 file changed
src/humanloop.client.ts
@@ -443,12 +443,12 @@ export class HumanloopClient extends BaseHumanloopClient {
443
* @param {FlowKernelRequest} [params.flowKernel] - Versioning information for the Flow.
444
* @returns An async function that wraps around the provided `callable`, adding Tool instrumentation.
445
*/
446
- public flow<T extends (args?: object) => any>({
+ public flow<I, M, O>({
447
callable,
448
path,
449
version,
450
}: {
451
- callable: T;
+ callable: InputsMessagesCallableType<I, M, O>;
452
path: string;
453
version?: FlowKernelRequest;
454
}) {
0 commit comments