* Run a Codebuff agent with the specified options. * * @param agent - The agent to run. Use 'base' for the default agent, or specify a custom agent ID if you made your own agent config. * @param prompt - The user prompt describing what you want the agent to do. * @param params - (Optiona
(
options: RunOptions & CodebuffClientOptions,
)
| 54 | * @returns A Promise that resolves to a RunState JSON object which you can pass to a subsequent run() call to continue the run. Use result.output to get the agent's output. |
| 55 | */ |
| 56 | public async run( |
| 57 | options: RunOptions & CodebuffClientOptions, |
| 58 | ): Promise<RunState> { |
| 59 | return run({ ...this.options, ...options }) |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Check connection to the Codebuff backend by hitting the /healthz endpoint. |