Skip to content

@uservane/openai-agents/server: RunWithFeedbackOptions

RunWithFeedbackOptions = RunWithFeedbackMintOpts & object

Defined in: @[email protected]_@[email protected]_ws@[email protected]__react@19.2.3/node_modules/@uservane/openai-agents/dist/server.d.ts:103

optional runFn?: AgentsRunFn

Injectable run (tests). Defaults to @openai/agents run.

optional runner?: object

Optional pre-built Runner (or any object with .run). When provided, runner.run(agent, input, opts) is used instead of the free run function. Prefer constructing new Runner({ groupId }) so the Agents trace carries the same groupId the mint uses as sessionId.

run: AgentsRunFn

optional runOptions?: Record<string, unknown>

Options forwarded to the Agents run / Runner.run call. Do not put secretKey here.

optional stream?: boolean

When true, pass { stream: true } into the run and await result.completed.