Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Add strictJsonSchema on Branding Format LLM Call (#2567)
Abimael Martell91075501d03f
diff --git a/apps/api/src/lib/branding/llm.ts b/apps/api/src/lib/branding/llm.tsindex 1cc4b60ea..35d3f0dc3 100644--- a/apps/api/src/lib/branding/llm.ts+++ b/apps/api/src/lib/branding/llm.ts@@ -57,6 +57,11 @@ export async function enhanceBrandingWithLLM(const result = await generateObject({model,schema: brandingEnhancementSchema,+ providerOptions: {+ openai: {+ strictJsonSchema: true,+ },+ },messages: [{role: "system",