Skip to content

Commit e829438

Browse files
authored
Merge pull request #2055 from getappmap/fix/bump-default-historical-messages
fix: Use 4 historical chat messages
2 parents 51f8c8b + bef49d8 commit e829438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/navie/src/lib/get-most-recent-messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const DEFAULT_HISTORICAL_MESSAGES = (() => {
1111
}
1212

1313
// Default one user message, one assistant message
14-
return 2;
14+
return 4;
1515
})();
1616

1717
function filterNonConversationalMessages(messages: Message[]): Message[] {

0 commit comments

Comments
 (0)