Skip to content

Commit

Permalink
Merge pull request #479 from vivoidos/template-type
Browse files Browse the repository at this point in the history
refactor: add template types
  • Loading branch information
lalalune authored Nov 21, 2024
2 parents 4ac0433 + b3e096c commit 379aeb3
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 379aeb3

Please sign in to comment.