# All files / src constants.ts

100% Statements 12/12
100% Branches 2/2
100% Functions 1/1
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    2096x
    96x
    96x
    96x

    96x
    96x
    96x
    96x
    96x
    96x

    96x

     export enum ToolExecutionMode {
      AUTO = "auto",
      CONFIRM = "confirm",
      DRY_RUN = "dry-run"
    }

    export const DEFAULT_MAX_TOOL_CALLS = 5;
    export const DEFAULT_MAX_RETRIES = 2;
    export const DEFAULT_TOOL_EXECUTION = ToolExecutionMode.AUTO;
    export const DEFAULT_REQUEST_TIMEOUT = 30000; // 30 seconds
    export const DEFAULT_MAX_TOKENS = 4096; // 4K tokens output limit
    export const DEFAULT_OLLAMA_BASE_URL = "http://localhost:11434/v1";

    export const DEFAULT_MODELS = {
      TRANSCRIPTION: "whisper-1",
      MODERATION: "omni-moderation-latest",
      EMBEDDING: "text-embedding-3-small",
      IMAGE: "dall-e-3"
    } as const;