FakeSubmitHandler
Unpublished development API. This package is under development and is not available as a published release.
Runs after the fake appends the user message for a submission. Return the
outcome submit resolves with; nothing means 'success'. Throwing rejects
submit with that error.
import type { FakeSubmitHandler } from '@threadplane/core/testing';Declaration
export type FakeSubmitHandler<TTools extends {
[K in keyof TTools]: ToolContract;
} = Record<string, ToolContract>> = (input: AgentSubmitInput, fake: FakeAgentSession<TTools>, options?: AgentSubmitOptions) => CompleteOutcome | void | PromiseLike<CompleteOutcome | void>;Type parameters
TTools{ [K in keyof TTools]: ToolContract; }Default:Record<string, ToolContract>