diff --git a/.env.example b/.env.example
index 83f29aedc..46a21e892 100644
--- a/.env.example
+++ b/.env.example
@@ -43,6 +43,12 @@ OPENAI_LIKE_API_KEY=
# You only need this environment variable set if you want to use Mistral models
MISTRAL_API_KEY=
+
+# Get LMStudio Base URL from LM Studio Developer Console
+# Make sure to enable CORS
+# Example: http://localhost:1234
+LMSTUDIO_API_BASE_URL=
+
# Get your xAI API key
# https://x.ai/api
# You only need this environment variable set if you want to use xAI models
diff --git a/.github/workflows/github-build-push.yml b/.github/workflows/github-build-push.yml
deleted file mode 100644
index 4d4db05d8..000000000
--- a/.github/workflows/github-build-push.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: Build and Push Container
-
-on:
- push:
- branches:
- - main
- # paths:
- # - 'Dockerfile'
- workflow_dispatch:
-jobs:
- build-and-push:
- runs-on: [ubuntu-latest]
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
-
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
-
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v1
- with:
- registry: ghcr.io
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Build and Push Containers
- uses: docker/build-push-action@v2
- with:
- context: .
- file: Dockerfile
- platforms: linux/amd64,linux/arm64
- push: true
- tags: |
- ghcr.io/${{ github.repository }}:latest
- ghcr.io/${{ github.repository }}:${{ github.sha }}
diff --git a/README.md b/README.md
index a1132c805..54ae824ed 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,9 @@ This fork of Bolt.new allows you to choose the LLM that you use for each prompt!
- ✅ Ability to sync files (one way sync) to local folder (@muzafferkadir)
- ✅ Containerize the application with Docker for easy installation (@aaronbolton)
- ✅ Publish projects directly to GitHub (@goncaloalves)
-- ⬜ Prevent Bolt from rewriting files as often (Done but need to review PR still)
+- ✅ Ability to enter API keys in the UI (@ali00209)
+- ✅ xAI Grok Beta Integration (@milutinke)
+- ⬜ **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** Load local projects into the app
- ⬜ **HIGH PRIORITY** - Attach images to prompts
@@ -34,7 +36,6 @@ This fork of Bolt.new allows you to choose the LLM that you use for each prompt!
- ⬜ Ability to revert code to earlier version
- ⬜ Prompt caching
- ⬜ Better prompt enhancing
-- ⬜ Ability to enter API keys in the UI
- ⬜ Have LLM plan the project in a MD file for better results/transparency
- ⬜ VSCode Integration with git-like confirmations
- ⬜ Upload documents for knowledge - UI design templates, a code base to reference coding style, etc.
diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx
index 36a60a822..db20cc7fa 100644
--- a/app/components/chat/BaseChat.tsx
+++ b/app/components/chat/BaseChat.tsx
@@ -51,6 +51,9 @@ const ModelSelector = ({ model, setModel, provider, setProvider, modelList, prov
+