import { PropertyReference, LinkToCopilotCloud } from "@/components"; import { Tabs } from "nextra/components"; import { Callout } from "nextra/components"; # GroqAdapter Copilot Runtime adapter for Groq. ## Example ```ts import { CopilotRuntime, GroqAdapter } from "@copilotkit/runtime"; import { Groq } from "groq-sdk"; const groq = new Groq({ apiKey: process.env["GROQ_API_KEY"] }); const copilotKit = new CopilotRuntime(); const llmAdapter = new GroqAdapter({ groq, model: "" }); return copilotKit.streamHttpServerResponse(req, res, llmAdapter); ``` ## Constructor Parameters An optional Groq instance to use. The model to use. 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)