UNPKG

openai-code

Version:

An unofficial proxy layer that lets you use Anthropic Claude Code with any OpenAI API backend.

6 lines (4 loc) 319 B
import { getCommand } from '../command.mjs' export const defaultMaxReasoningGraphDepth = 3 export const getMaxDeepReasoningGraphDepth = (commands) => getCommand(commands, 'deepThought', defaultMaxReasoningGraphDepth) export const isDeepThoughtActivated = (commands) => getMaxDeepReasoningGraphDepth(commands) !== null