Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

306 B
Raw Blame
import { type Bot, type ModelInfo, resolveThinkingLevel } from "@pibot/protocol";

export function normalizedThinking(
  model: Pick<ModelInfo, "reasoning" | "thinkingLevels">,
  thinking: Bot["thinkingLevel"] | null | undefined,
): Bot["thinkingLevel"] {
  return resolveThinkingLevel(model, thinking);
}