@promptbook/azure-openai
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
15 lines (14 loc) • 584 B
TypeScript
/**
* Default wait duration applied before retrying a prompt round after an error (10 minutes).
*
* @private internal constant of `ptbk coder` wait handling
*/
export declare const DEFAULT_WAIT_AFTER_ERROR_MS: number;
/**
* Parses an optional Commander duration string and returns the resolved milliseconds.
*
* Returns `defaultMs` when the flag was not provided or was provided without a non-empty value.
*
* @private internal utility of `ptbk coder` wait handling
*/
export declare function parseOptionalWaitDuration(value: string | undefined, defaultMs: number): number;