openclaw/openclaw · error · Error

[copilot] isolated completion does not support thinking leve

Error message

[copilot] isolated completion does not support thinking level ${params.thinkLevel}

What it means

Error "[copilot] isolated completion does not support thinking level ${params.thinkLevel}" thrown in openclaw/openclaw.

Source

Thrown at extensions/copilot/src/isolated-completion.ts:169

        {
          prompt: params.prompt,
          ...(params.requestHeaders ? { requestHeaders: params.requestHeaders } : {}),
        },
        remainingMs,
      ),
    onBoundary: () => {
      void params.session.abort().catch(() => undefined);
    },
  });
}

export async function runCopilotIsolatedCompletion(
  params: AgentHarnessIsolatedCompletionParams,
  getPool: () => Promise<CopilotClientPool>,
): Promise<AgentHarnessIsolatedCompletionResult> {
  const reasoningEffort = resolveReasoningEffort(params.thinkLevel);
  if (params.thinkLevel !== undefined && reasoningEffort === undefined) {
    throw new Error(
      `[copilot] isolated completion does not support thinking level ${params.thinkLevel}`,
    );
  }
  const boundary: CompletionBoundary = {
    abortSignal: params.abortSignal,
    deadlineMs: Date.now() + params.timeoutMs,
    timeoutMs: params.timeoutMs,
  };
  const apiKey = requirePreparedCredential(params);
  const resolvedProvider = resolveCopilotProvider({
    model: {
      api: params.model.api,
      id: params.model.id,
      provider: params.model.provider,
      baseUrl: params.model.baseUrl,
      headers: params.model.headers,
      authHeader: params.model.authHeader,
      contextTokens: params.model.contextTokens,

View on GitHub (pinned to 01804a7531)

When it happens

Trigger: Thrown at extensions/copilot/src/isolated-completion.ts:169 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openclaw/openclaw@01804a7531 (2026-08-12). Data as JSON: /api/errors/68be82116dcf86ea. Report an issue: GitHub.