Skip to content

Commit

Permalink
add template types
Browse files Browse the repository at this point in the history
  • Loading branch information
vivoidos committed Nov 21, 2024
1 parent 47fc913 commit b3e096c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,21 @@ export type Character = {
modelProvider: ModelProviderName;
modelEndpointOverride?: string;
templates?: {
[key: string]: string;
goalsTemplate?: string;
factsTemplate?: string;
messageHandlerTemplate?: string;
shouldRespondTemplate?: string;
continueMessageHandlerTemplate?: string;
evaluationTemplate?: string;
twitterSearchTemplate?: string;
twitterPostTemplate?: string;
twitterMessageHandlerTemplate?: string;
twitterShouldRespondTemplate?: string;
telegramMessageHandlerTemplate?: string;
telegramShouldRespondTemplate?: string;
discordVoiceHandlerTemplate?: string;
discordShouldRespondTemplate?: string;
discordMessageHandlerTemplate?: string;
};
bio: string | string[];
lore: string[];
Expand Down

0 comments on commit b3e096c

Please sign in to comment.