CopilotRuntime
Copilot Runtime is the back-end component of CopilotKit, enabling interaction with LLMs.
This is the reference for the CopilotRuntime class. For more information and example code snippets, please see Concept: Copilot Runtime.
Usage
import { CopilotRuntime } from "@copilotkit/runtime";
const copilotKit = new CopilotRuntime();
constructor(params?: CopilotRuntimeConstructorParams<T> &
PartialBy<CopilotRuntimeOptions, "agents">)
paramsCopilotRuntimeConstructorParams<T> &
PartialBy<CopilotRuntimeOptions, 'agents'>