Add function calling
This commit is contained in:
parent
f3a74bc46c
commit
a5d6163ef9
13 changed files with 272 additions and 32 deletions
|
|
@ -10,6 +10,7 @@ let state: IState = {
|
|||
index: 0,
|
||||
startTime: 0,
|
||||
},
|
||||
aiMemory: [],
|
||||
};
|
||||
|
||||
const load = () => {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
interface IState {
|
||||
users: IUser[];
|
||||
personality: IPersonality;
|
||||
aiMemory: string[];
|
||||
}
|
||||
|
||||
interface IUser {
|
||||
id: string;
|
||||
information?: string;
|
||||
role: TRole;
|
||||
experience: number;
|
||||
money: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue