MCPcopy Create free account
hub / github.com/tiann/hapi / supportsReasoningSummary

Function supportsReasoningSummary

cli/src/codex/utils/appServerConfig.ts:51–56  ·  view source on GitHub ↗
(model: string | undefined)

Source from the content-addressed store, hash-verified

49}
50
51export function supportsReasoningSummary(model: string | undefined): boolean {
52 const normalized = model?.trim().toLowerCase();
53 if (!normalized) return true;
54 const modelName = normalized.split('/').pop() ?? normalized;
55 return !MODELS_WITHOUT_REASONING_SUMMARY.has(modelName);
56}
57
58function buildMcpServerConfig(mcpServers: McpServersConfig): Record<string, unknown> {
59 const config: Record<string, unknown> = {};

Callers 2

buildTurnStartParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected