From bb0546d85ada1385499171655df63ad22a89c9a6 Mon Sep 17 00:00:00 2001 From: Anon Date: Thu, 7 Nov 2024 14:38:22 +0100 Subject: [PATCH 1/3] Added the latest Sonnet 3.5 and Haiku 3.5 --- app/utils/constants.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/utils/constants.ts b/app/utils/constants.ts index b3120f9..807b306 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -4,11 +4,10 @@ export const WORK_DIR_NAME = 'project'; export const WORK_DIR = `/home/${WORK_DIR_NAME}`; export const MODIFICATIONS_TAG_NAME = 'bolt_file_modifications'; export const MODEL_REGEX = /^\[Model: (.*?)\]\n\n/; -export const DEFAULT_MODEL = 'claude-3-5-sonnet-20240620'; +export const DEFAULT_MODEL = 'claude-3-5-sonnet-latest'; export const DEFAULT_PROVIDER = 'Anthropic'; const staticModels: ModelInfo[] = [ - { name: 'claude-3-5-sonnet-20240620', label: 'Claude 3.5 Sonnet', provider: 'Anthropic' }, { name: 'gpt-4o', label: 'GPT-4o', provider: 'OpenAI' }, { name: 'anthropic/claude-3.5-sonnet', label: 'Anthropic: Claude 3.5 Sonnet (OpenRouter)', provider: 'OpenRouter' }, { name: 'anthropic/claude-3-haiku', label: 'Anthropic: Claude 3 Haiku (OpenRouter)', provider: 'OpenRouter' }, @@ -26,7 +25,10 @@ const staticModels: ModelInfo[] = [ { name: 'llama-3.2-11b-vision-preview', label: 'Llama 3.2 11b (Groq)', provider: 'Groq' }, { name: 'llama-3.2-3b-preview', label: 'Llama 3.2 3b (Groq)', provider: 'Groq' }, { name: 'llama-3.2-1b-preview', label: 'Llama 3.2 1b (Groq)', provider: 'Groq' }, - { name: 'claude-3-opus-20240229', label: 'Claude 3 Opus', provider: 'Anthropic' }, + { name: 'claude-3-5-sonnet-latest', label: 'Claude 3.5 Sonnet (new)', provider: 'Anthropic' }, + { name: 'claude-3-5-sonnet-20240620', label: 'Claude 3.5 Sonnet (old)', provider: 'Anthropic' }, + { name: 'claude-3-5-haiku-latest', label: 'Claude 3.5 Haiku (new)', provider: 'Anthropic' }, + { name: 'claude-3-opus-latest', label: 'Claude 3 Opus', provider: 'Anthropic' }, { name: 'claude-3-sonnet-20240229', label: 'Claude 3 Sonnet', provider: 'Anthropic' }, { name: 'claude-3-haiku-20240307', label: 'Claude 3 Haiku', provider: 'Anthropic' }, { name: 'gpt-4o-mini', label: 'GPT-4o Mini', provider: 'OpenAI' }, From 848c697d09223c823a4befbdc4c00309a427259f Mon Sep 17 00:00:00 2001 From: Cole Medin Date: Sun, 10 Nov 2024 13:43:28 -0600 Subject: [PATCH 2/3] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1132c8..54ae824 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. From 1b44a0b0d7d9a2eac59c9a06086cb11db1fde1d3 Mon Sep 17 00:00:00 2001 From: Aaron Bolton Date: Sun, 10 Nov 2024 20:24:32 +0000 Subject: [PATCH 3/3] Delete github-build-push.yml --- .github/workflows/github-build-push.yml | 39 ------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/github-build-push.yml diff --git a/.github/workflows/github-build-push.yml b/.github/workflows/github-build-push.yml deleted file mode 100644 index 4d4db05..0000000 --- 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 }}