DefaultAgent
Namespace: E2E
public static class DefaultAgentUpstream’s createBuiltInAgent (agent/default-agent.ts): the tool loop with the built-in rules, tools, and opening prompt.
Inheritance: object
Methods
Section titled “Methods”CreateBuiltInAgent(BuiltInAgentOptions?)
Section titled “CreateBuiltInAgent(BuiltInAgentOptions?)”public static IStepExecutor CreateBuiltInAgent(BuiltInAgentOptions? options = null)Builds the built-in step executor: the model loop with the grammar tools of the target’s engine and the project tools. It drives the step’s own context, so it runs only where the runtime builds one, as a step’s executor or inside a custom executor that hands its context on.
Parameters
| Name | Type | Description |
|---|---|---|
options |
BuiltInAgentOptions |
Returns: IStepExecutor