mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 09:36:03 +08:00
Nick: gpt-4o
This commit is contained in:
parent
d49f62fb56
commit
28696da6b2
@ -63,7 +63,7 @@ export async function generateOpenAICompletions(logger: Logger, options: Extract
|
|||||||
let warning: string | undefined;
|
let warning: string | undefined;
|
||||||
|
|
||||||
const openai = new OpenAI();
|
const openai = new OpenAI();
|
||||||
const model: TiktokenModel = (process.env.MODEL_NAME as TiktokenModel) ?? "gpt-4o-mini";
|
const model: TiktokenModel = (process.env.MODEL_NAME as TiktokenModel) ?? "gpt-4o";
|
||||||
|
|
||||||
if (markdown === undefined) {
|
if (markdown === undefined) {
|
||||||
throw new Error("document.markdown is undefined -- this is unexpected");
|
throw new Error("document.markdown is undefined -- this is unexpected");
|
||||||
|
@ -86,6 +86,7 @@ export interface CrawlScrapeOptions {
|
|||||||
country?: string;
|
country?: string;
|
||||||
languages?: string[];
|
languages?: string[];
|
||||||
};
|
};
|
||||||
|
mobile?: boolean;
|
||||||
skipTlsVerification?: boolean;
|
skipTlsVerification?: boolean;
|
||||||
removeBase64Images?: boolean;
|
removeBase64Images?: boolean;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user