feat: web search for ai nodes

This commit is contained in:
DarkPhoenix2704
2026-01-28 14:40:30 +00:00
parent b60f5187e2
commit c2789da9e4

View File

@@ -81,6 +81,7 @@ export interface AiGenerateObjectArgs {
messages: ModelMessage[];
schema: any;
customModel?: string;
websearch?: boolean;
}
interface AiGenerateObjectResponse<T> {
@@ -91,6 +92,7 @@ interface AiGenerateObjectResponse<T> {
export type AiGenerateTextArgs = {
system: string
customModel?: string;
websearch?: boolean;
} & ({ prompt: string } | { messages: ModelMessage[] })
interface AiGenerateTextResponse {