Add function calling

This commit is contained in:
Aslan 2025-12-29 12:49:52 +01:00
parent f3a74bc46c
commit a5d6163ef9
13 changed files with 272 additions and 32 deletions

View file

@ -10,6 +10,7 @@ let state: IState = {
index: 0,
startTime: 0,
},
aiMemory: [],
};
const load = () => {

View file

@ -1,11 +1,11 @@
interface IState {
users: IUser[];
personality: IPersonality;
aiMemory: string[];
}
interface IUser {
id: string;
information?: string;
role: TRole;
experience: number;
money: number;