Skip to content

Commit f3bfb38

Browse files
committed
fix provider path
1 parent 17240bd commit f3bfb38

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/client-discord/src/actions/chat_with_attachments.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const summarizeAction = {
185185
let currentSummary = "";
186186

187187
const modelSettings = getModelSettings(
188-
runtime.modelProvider,
188+
runtime.character.modelProvider,
189189
ModelClass.SMALL
190190
);
191191
const chunkSize = modelSettings.maxOutputTokens;

packages/client-discord/src/actions/summarize_conversation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const summarizeAction = {
247247
let currentSummary = "";
248248

249249
const modelSettings = getModelSettings(
250-
runtime.modelProvider,
250+
runtime.character.modelProvider,
251251
ModelClass.SMALL
252252
);
253253
const chunkSize = modelSettings.maxOutputTokens - 1000;

packages/client-slack/src/actions/chat_with_attachments.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const summarizeAction: Action = {
196196
let currentSummary = "";
197197

198198
const modelSettings = getModelSettings(
199-
runtime.modelProvider,
199+
runtime.character.modelProvider,
200200
ModelClass.SMALL
201201
);
202202
const chunkSize = modelSettings.maxOutputTokens;

packages/client-slack/src/actions/summarize_conversation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ const summarizeAction: Action = {
267267
let currentSummary = "";
268268

269269
const modelSettings = getModelSettings(
270-
runtime.modelProvider,
270+
runtime.character.modelProvider,
271271
ModelClass.SMALL
272272
);
273273
const chunkSize = modelSettings.maxOutputTokens;

0 commit comments

Comments
 (0)