andy-stack_vaultkeeper-ai/AIClasses/FunctionDefinitions/IAIFunctionDefinition.ts
Andrew Beal 275f548914 refactor: streamline planning UX and strengthen complexity gate
Restructure system prompt to enforce mandatory complexity evaluation before action. Replace verbose multi-step planning framework with concise gate-based decision model. Add UI for execution plan visibility. Improve planning/execution separation by blocking execution tools during planning phase. Remove cancellation indicator component. Fix conversation deletion bug preventing saves after delete. Strengthen type safety for AIFunction names. Simplify function summary format for planning agent. Update test mocks for new callback signatures.
2026-01-03 11:15:32 +00:00

13 lines
No EOL
427 B
TypeScript

import type { AIFunction } from "Enums/AIFunction";
import type { JSONSchemaProperty } from "../Schemas/AIFunctionTypes";
// platform agnostic function definition used to present function calls in an API call
export interface IAIFunctionDefinition {
name: AIFunction;
description: string;
parameters: {
type: string;
properties: Record<string, JSONSchemaProperty>;
required?: string[];
};
}