DAFT - v1.0.0
    Preparing search index...

    Interface Budget

    Budget constraints for spec execution.

    Any exceeded budget will cause the execution to fail immediately. Budget is checked after each tool execution.

    const budget: Budget = {
    maxTime: 60000, // 60 seconds
    maxTokens: 10000,
    maxCost: 5 // $5 USD
    };
    interface Budget {
        maxTime?: number;
        maxTokens?: number;
        maxCost?: number;
    }
    Index

    Properties

    maxTime?: number

    Maximum execution time in milliseconds. If not specified, no time limit is enforced.

    maxTokens?: number

    Maximum number of tokens to use across all LLM calls. If not specified, no token limit is enforced.

    maxCost?: number

    Maximum cost in USD. If not specified, no cost limit is enforced.