Преглед изворни кода

Update maxFileSize comment to use megabytes

guillermoscript пре 1 година
родитељ
комит
bd86e59ac0
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      README.md
  2. 2 2
      src/config.ts

+ 1 - 1
README.md

@@ -78,7 +78,7 @@ type Config = {
   maxPagesToCrawl: number;
   /** File name for the finished data */
   outputFileName: string;
-  /** Optional maximum file size in bytes to include in the output file */
+  /** Optional maximum file size in megabytes to include in the output file */
   maxFileSize?: number().,
   /** Optional maximum number tokens to include in the output file */
   maxTokens?: number().,

+ 2 - 2
src/config.ts

@@ -53,8 +53,8 @@ export const configSchema = z.object({
   waitForSelectorTimeout: z.number().int().nonnegative().optional(),
 
 
-  /** Optional maximum file size in bytes to include in the output file 
-   * @example 1000
+  /** Optional maximum file size in megabytes to include in the output file
+   * @example 1
   */
   maxFileSize: z.number().int().positive().optional(),
   /** Optional maximum number tokens to include in the output file