mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 18:33:15 +00:00
chore: Bump max tokens to 100k (#581)
This commit is contained in:
parent
840a7fc852
commit
f6a5065093
2 changed files with 4 additions and 4 deletions
|
|
@ -633,7 +633,7 @@ describe("getMessagesSinceLastSummary", () => {
|
|||
});
|
||||
|
||||
describe("MAX_INTERNAL_TOKENS constant", () => {
|
||||
it("should be defined as 60,000", async () => {
|
||||
expect(MAX_INTERNAL_TOKENS).toBe(60_000);
|
||||
it("should be defined as 100,000", async () => {
|
||||
expect(MAX_INTERNAL_TOKENS).toBe(100_000);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import {
|
|||
import { getMessageContentString } from "@open-swe/shared/messages";
|
||||
import { traceable } from "langsmith/traceable";
|
||||
|
||||
// After 60k tokens, summarize the conversation history.
|
||||
export const MAX_INTERNAL_TOKENS = 60_000;
|
||||
// After 100k tokens, summarize the conversation history.
|
||||
export const MAX_INTERNAL_TOKENS = 100_000;
|
||||
|
||||
export function calculateConversationHistoryTokenCount(
|
||||
messages: BaseMessage[],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue