Skip to content

Commit

Permalink
Merge pull request #17 from Manifest-Holdings/reverting-to-small-mode…
Browse files Browse the repository at this point in the history
…ls-on-should-logic

Reverting to small models on should logic
  • Loading branch information
odilitime authored Feb 25, 2025
2 parents 33829fa + b825740 commit 6d5a2fe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/client-discord/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ export class MessageManager {
const response = await generateShouldRespond({
runtime: this.runtime,
context: shouldRespondContext,
modelClass: ModelClass.LARGE,
modelClass: ModelClass.SMALL,
});

if (response === "RESPOND") {
Expand Down
2 changes: 1 addition & 1 deletion packages/client-discord/src/voice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ export class VoiceManager extends EventEmitter {
const response = await generateShouldRespond({
runtime: this.runtime,
context: shouldRespondContext,
modelClass: ModelClass.LARGE,
modelClass: ModelClass.SMALL,
});

if (response === "RESPOND") {
Expand Down
2 changes: 1 addition & 1 deletion packages/client-telegram/src/messageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ export class MessageManager {
const response = await generateShouldRespond({
runtime: this.runtime,
context: shouldRespondContext,
modelClass: ModelClass.LARGE,
modelClass: ModelClass.SMALL,
});

return response === "RESPOND";
Expand Down
4 changes: 2 additions & 2 deletions packages/client-twitter/src/interactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ export class TwitterInteractionClient {
const shouldRespond = await generateShouldRespond({
runtime: this.runtime,
context: shouldRespondContext,
modelClass: ModelClass.LARGE,
modelClass: ModelClass.SMALL,
});

// Promise<"RESPOND" | "IGNORE" | "STOP" | null> {
Expand Down Expand Up @@ -693,4 +693,4 @@ export class TwitterInteractionClient {

return thread;
}
}
}
2 changes: 1 addition & 1 deletion packages/client-twitter/src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ export class TwitterPostClient {
const actionResponse = await generateTweetActions({
runtime: this.runtime,
context: actionContext,
modelClass: ModelClass.LARGE,
modelClass: ModelClass.SMALL,
});

if (!actionResponse) {
Expand Down

0 comments on commit 6d5a2fe

Please sign in to comment.