@promptbook/node
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
10 lines (9 loc) • 410 B
TypeScript
import type { Usage } from '../../../../src/execution/Usage';
/**
* Parses Gemini CLI output and extracts usage information.
*
* @param output The output from the Gemini CLI.
* @param prompt The prompt that was sent to the Gemini CLI.
* @param modelName The Gemini model used for this run.
*/
export declare function parseGeminiUsageFromOutput(output: string, prompt: string, modelName?: string): Usage;