From c630fc54b5350b3903997ab13d6152c0b86ba30b Mon Sep 17 00:00:00 2001 From: Michael Oliver Date: Wed, 6 Dec 2023 15:21:39 -0800 Subject: [PATCH 1/2] Update config.ts to add maxTokens default OpenAI maxTokens is 2000000. Having this as a default may help new users --- config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/config.ts b/config.ts index bc2d22e0..2eef8a0b 100644 --- a/config.ts +++ b/config.ts @@ -5,4 +5,5 @@ export const defaultConfig: Config = { match: "https://www.builder.io/c/docs/**", maxPagesToCrawl: 50, outputFileName: "output.json", + maxTokens?: 2000000, }; From 2f185b24c6b7e60a26120b5dfb0055ce00e9a3cf Mon Sep 17 00:00:00 2001 From: Michael Oliver Date: Thu, 7 Dec 2023 11:54:10 -0800 Subject: [PATCH 2/2] Update config.ts whoops. args can't be optional --- config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ts b/config.ts index 2eef8a0b..f5c958df 100644 --- a/config.ts +++ b/config.ts @@ -5,5 +5,5 @@ export const defaultConfig: Config = { match: "https://www.builder.io/c/docs/**", maxPagesToCrawl: 50, outputFileName: "output.json", - maxTokens?: 2000000, + maxTokens: 2000000, };