UNPKG

@promptbook/node

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

11 lines (10 loc) 412 B
import type { Usage } from '../../../../src/execution/Usage'; /** * Heuristic share of the total tokens that are expected to come from completion tokens * when Codex only reports a single total value. */ export declare const DEFAULT_CODEX_COMPLETION_SHARE = 0.1; /** * Builds usage stats from Codex CLI output. */ export declare function buildCodexUsageFromOutput(output: string, modelName: string): Usage;