diff --git a/README.md b/README.md index c7408d69..934783ff 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ project, please check the [project management guide](./PROJECT.md) to get starte - ✅ AWS Bedrock Integration (@kunjabijukchhe) - ✅ Add a "Diff View" to see the changes (@toddyclipsgg) - ✅ **HIGH PRIORITY** - Prevent bolt from rewriting files as often (file locking and diffs) -- ⬜ **HIGH PRIORITY** - Better prompting for smaller LLMs (code window sometimes doesn't start) +- ✅ **HIGH PRIORITY** - Better prompting for smaller LLMs (code window sometimes doesn't start) - ⬜ **HIGH PRIORITY** - Run agents in the backend as opposed to a single model call - ✅ Deploy directly to Netlify (@xKevIsDev) - ✅ Supabase Integration (@xKevIsDev) diff --git a/app/lib/hooks/useGit.ts b/app/lib/hooks/useGit.ts index 77860981..3e90744a 100644 --- a/app/lib/hooks/useGit.ts +++ b/app/lib/hooks/useGit.ts @@ -203,7 +203,7 @@ const getFs = ( return; } - return await webcontainer.fs.writeFile(relativePath, data); + await webcontainer.fs.writeFile(relativePath, data); } else { const encoding = options?.encoding || 'utf8'; const existing = await webcontainer.fs.readFile(relativePath, encoding).catch(() => null); @@ -212,7 +212,7 @@ const getFs = ( return; } - return await webcontainer.fs.writeFile(relativePath, data, encoding); + await webcontainer.fs.writeFile(relativePath, data, encoding); } } catch (error) { throw error; diff --git a/build/server.ts b/build/server.ts new file mode 100644 index 00000000..cb0ff5c3 --- /dev/null +++ b/build/server.ts @@ -0,0 +1 @@ +export {};