mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 16:30:27 +00:00
- Change function arguments type from `Record<string, object>` to `Record<string, unknown>` - Add Zod schemas for all AI function arguments validation - Improve TypeScript types across modals and services - Add ESLint disable comments for intentional exceptions - Fix async/await handling in modal and view lifecycle methods - Update dependencies (@typescript-eslint 8.46.4, rollup 4.53.2, zod 4.1.12)
12 lines
No EOL
371 B
TypeScript
12 lines
No EOL
371 B
TypeScript
import type { JSONSchemaProperty } from "../Schemas/AIFunctionTypes";
|
|
|
|
// platform agnostic function definition used to present function calls in an API call
|
|
export interface IAIFunctionDefinition {
|
|
name: string;
|
|
description: string;
|
|
parameters: {
|
|
type: string;
|
|
properties: Record<string, JSONSchemaProperty>;
|
|
required?: string[];
|
|
};
|
|
} |