Skip to content

Commit

Permalink
fix provider path
Browse files Browse the repository at this point in the history
  • Loading branch information
tcm390 committed Jan 5, 2025
1 parent 17240bd commit f3bfb38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const summarizeAction = {
let currentSummary = "";

const modelSettings = getModelSettings(
runtime.modelProvider,
runtime.character.modelProvider,
ModelClass.SMALL
);
const chunkSize = modelSettings.maxOutputTokens;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const summarizeAction = {
let currentSummary = "";

const modelSettings = getModelSettings(
runtime.modelProvider,
runtime.character.modelProvider,
ModelClass.SMALL
);
const chunkSize = modelSettings.maxOutputTokens - 1000;
Expand Down
2 changes: 1 addition & 1 deletion packages/client-slack/src/actions/chat_with_attachments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const summarizeAction: Action = {
let currentSummary = "";

const modelSettings = getModelSettings(
runtime.modelProvider,
runtime.character.modelProvider,
ModelClass.SMALL
);
const chunkSize = modelSettings.maxOutputTokens;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const summarizeAction: Action = {
let currentSummary = "";

const modelSettings = getModelSettings(
runtime.modelProvider,
runtime.character.modelProvider,
ModelClass.SMALL
);
const chunkSize = modelSettings.maxOutputTokens;
Expand Down

0 comments on commit f3bfb38

Please sign in to comment.