Skip to content

@uservane/openai-agents/server: RunWithFeedbackOptions

RunWithFeedbackOptions = RunWithFeedbackMintOpts & object

Defined in: @uservane+openai-agents@0.1.0_@openai+agents@0.13.5_ws@8.21.1_zod@3.25.76__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.