File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ async function configYamlToContinueConfig(options: {
235
235
startUrl : doc . startUrl ,
236
236
rootUrl : doc . rootUrl ,
237
237
faviconUrl : doc . faviconUrl ,
238
+ maxDepth : doc . maxDepth ,
239
+ useLocalCrawling : doc . useLocalCrawling ,
238
240
} ) ) ;
239
241
240
242
config . mcpServers ?. forEach ( ( mcpServer ) => {
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export const siteIndexingConfigSchema = z.object({
207
207
startUrl : z . string ( ) ,
208
208
// rootUrl: z.string(),
209
209
title : z . string ( ) ,
210
- maxDepth : z . string ( ) . optional ( ) ,
210
+ maxDepth : z . number ( ) . optional ( ) ,
211
211
faviconUrl : z . string ( ) . optional ( ) ,
212
212
useLocalCrawling : z . boolean ( ) . optional ( ) ,
213
213
} ) ;
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ const docSchema = z.object({
42
42
startUrl : z . string ( ) ,
43
43
rootUrl : z . string ( ) . optional ( ) ,
44
44
faviconUrl : z . string ( ) . optional ( ) ,
45
+ maxDepth : z . number ( ) . optional ( ) ,
46
+ useLocalCrawling : z . boolean ( ) . optional ( ) ,
45
47
} ) ;
46
48
47
49
export type DocsConfig = z . infer < typeof docSchema > ;
You can’t perform that action at this time.
0 commit comments