Skip to content

Commit bef49d8

Browse files
committed
fix: The number of historical messages is now 4 by default, up from 2
1 parent 51f8c8b commit bef49d8

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)