Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

lowercase

Vasek Mlejnsky59de2ee9bb51
diff --git a/components/Editor/index.tsx b/components/Editor/index.tsx
index c483aa63e..df8558bfb 100644
--- a/components/Editor/index.tsx
+++ b/components/Editor/index.tsx
@@ -35,7 +35,7 @@ async function handlePostGenerate(url: string, { arg }: {
method: 'POST',
body: JSON.stringify({
blocks: arg.blocks.map(b => b.prompt),
- method: arg.method,
+ method: arg.method.toLowerCase(),
}),
headers: {