Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting to small models on should logic #17

Merged
merged 5 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading