File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,8 @@ export function scrapegraphai(config: ClientConfig) {
4040 async extract ( url : string , extractOptions : ApiExtractOptions , requestOptions ?: RequestOptions ) {
4141 const body : Record < string , unknown > = { url, prompt : extractOptions . prompt } ;
4242 if ( extractOptions . schema ) body . schema = toJsonSchema ( extractOptions . schema ) ;
43- if ( extractOptions . llmConfig ) body . llmConfig = extractOptions . llmConfig ;
4443 if ( extractOptions . mode ) body . mode = extractOptions . mode ;
4544 if ( extractOptions . contentType ) body . contentType = extractOptions . contentType ;
46- if ( extractOptions . fetchConfig ) body . fetchConfig = extractOptions . fetchConfig ;
4745 return request (
4846 "POST" ,
4947 buildUrl ( "/api/v2/extract" ) ,
Original file line number Diff line number Diff line change @@ -172,8 +172,6 @@ export const apiExtractRequestBaseSchema = z
172172 prompt : apiUserPromptSchema ,
173173 schema : z . record ( z . string ( ) , z . unknown ( ) ) . optional ( ) ,
174174 contentType : apiFetchContentTypeSchema . optional ( ) ,
175- fetchConfig : apiFetchConfigSchema . optional ( ) ,
176- llmConfig : apiLlmConfigSchema . optional ( ) ,
177175 } )
178176 . refine ( ( d ) => d . url || d . html || d . markdown , {
179177 message : "Either url, html, or markdown is required" ,
You can’t perform that action at this time.
0 commit comments