Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
chore(docs): Internal snippets comparison (#183)
Pavel 'Strajk' Doleceke76698a8c6c4
diff --git a/apps/docs/src/components/Code.tsx b/apps/docs/src/components/Code.tsxindex 707a94103..b80d03a5c 100644--- a/apps/docs/src/components/Code.tsx+++ b/apps/docs/src/components/Code.tsx@@ -257,6 +257,19 @@ function CodeGroupPanels({}: React.ComponentPropsWithoutRef<typeof CodePanel>) {const hasTabs = Children.count(children) > 1+ /* <INTERNAL> */+ // @ts-ignore+ if (typeof window !== 'undefined' && window.DEBUG_COMPARE_LANGS) {+ return (+ <div className="grid grid-cols-2">+ {Children.map(children, child => (+ <CodePanel {...props}>{child}</CodePanel>+ ))}+ </div>+ )+ }+ /* </INTERNAL> */+if (hasTabs) {return (<Tab.Panels>