OptionaldirThe folder the user gave, like ./pairs-sum.
OptionalproviderThe preset id of the provider, for the capability table. Defaults to
provider.id.
OptionalcapabilitiesWhat the models can do, with the live info and the ai.json
overrides. A model without tools runs in chat-only mode. Defaults to an
empty table, which still turns tools off after tools_not_supported.
OptionalbudgetsBudgets of the chat, from budgetsFor(). Defaults to DEFAULT_BUDGETS.
OptionalsecretsKeys to redact from errors.
OptionalrunnerRuns polyman commands. Defaults to NodeCliRunner.
OptionalcreateBuilds the workflow scheduler. Defaults to a model manager and model workers.
Builds the scheduler for one run in problemDir.
OptionalcreateBuilds the idea workflow. Defaults to the chat model.
OptionalcwdBase folder for a relative dir. Defaults to process.cwd().
OptionalpolygonThe registered Polygon credentials, or null. Defaults to reading
~/.polyman. Read on each use, so a remote register run in another
terminal works without a restart.
What createChatRuntime needs.