Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
feat: Add anonymous logger of prompts (#2497)
Ivan Starkovf89f53486fc2
diff --git a/packages/ai/src/chains/command-detect/chain.ts b/packages/ai/src/chains/command-detect/chain.tsindex 09fadc0ce2..a5085c3ee3 100644--- a/packages/ai/src/chains/command-detect/chain.ts+++ b/packages/ai/src/chains/command-detect/chain.ts@@ -90,6 +90,9 @@ export const createChain = <ModelMessageFormat>(): Chain<};}+ // eslint-disable-next-line no-console+ console.info(JSON.stringify({ prompt, detectedCommands }));+return {...completion,data: detectedCommands,