Files
orcs-code/src/utils/model/modelCapabilities.ts
Anandan 5ff34283c4 Stub internal-only recording and model capability helpers (#377)
This follow-up Phase C-lite slice replaces purely internal helper modules
with stable external no-op surfaces and collapses internal elevated error
logging to a no-op. The change removes additional USER_TYPE-gated helper
behavior without touching product-facing runtime flows.

Constraint: Keep this PR limited to isolated helper modules that are already external no-ops in practice
Rejected: Pulling in broader speculation or logging sink changes | less isolated and easier to debate during review
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Continue Phase C with similarly isolated helpers before moving into mixed behavior files
Tested: bun run build
Tested: bun run smoke
Tested: bun run verify:privacy
Tested: bun run test:provider
Tested: bun run test:provider-recommendation
Not-tested: Full repo typecheck (upstream baseline remains noisy)

Co-authored-by: anandh8x <test@example.com>
2026-04-05 12:44:03 +08:00

17 lines
426 B
TypeScript

// External build: internal model-capabilities fetch/cache path is disabled.
// Preserve a stable public surface so callers can continue to import it.
export type ModelCapability = {
id: string
max_input_tokens?: number
max_tokens?: number
}
export function getModelCapability(
_model: string,
): ModelCapability | undefined {
return undefined
}
export async function refreshModelCapabilities(): Promise<void> {}