LLM Adapters
OpenAIAdapter
Copilot Runtime adapter for OpenAI.
Copilot Runtime adapter for OpenAI.
Example
Constructor Parameters
openaiOpenAI
An optional OpenAI instance to use. If not provided, a new instance will be created.
modelstring
The model to use.
disableParallelToolCallsboolean
Default: "false"
Whether to disable parallel tool calls. You can disable parallel tool calls to force the model to execute tool calls sequentially. This is useful if you want to execute tool calls in a specific order so that the state changes introduced by one tool call are visible to the next tool call. (i.e. new actions or readables)