From 905f064543e71864eaeb4e039e5d55fe2da845fd Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 24 Sep 2024 16:33:40 -0700 Subject: [PATCH] fix: free trial config.json updates --- core/config/default.ts | 12 ++++++++---- gui/src/components/mainInput/ContextItemsPeek.tsx | 1 - 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/core/config/default.ts b/core/config/default.ts index af5b19913..1224725cc 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -23,7 +23,9 @@ export const FREE_TRIAL_MODELS: ModelDescription[] = [ { title: "Claude 3 Sonnet (Free Trial)", provider: "free-trial", - model: "claude-3-sonnet-20240229", + model: "claude-3-5-sonnet-20240620", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { title: "GPT-4o (Free Trial)", @@ -35,14 +37,16 @@ export const FREE_TRIAL_MODELS: ModelDescription[] = [ { title: "Llama3 70b (Free Trial)", provider: "free-trial", - model: "llama3-70b", + model: "llama3.1-70b", systemMessage: - "You are an expert software developer. You give helpful and concise responses. Whenever you write a code block you include the language after the opening ticks.", + "You are an expert software developer. You give helpful and concise responses.", }, { title: "Codestral (Free Trial)", provider: "free-trial", - model: "codestral", + model: "codestral-latest", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, ]; diff --git a/gui/src/components/mainInput/ContextItemsPeek.tsx b/gui/src/components/mainInput/ContextItemsPeek.tsx index 0e9f84ed3..5327719d2 100644 --- a/gui/src/components/mainInput/ContextItemsPeek.tsx +++ b/gui/src/components/mainInput/ContextItemsPeek.tsx @@ -2,7 +2,6 @@ import { ChevronDownIcon, ChevronRightIcon } from "@heroicons/react/24/outline"; import { ContextItemWithId } from "core"; import { contextItemToRangeInFileWithContents } from "core/commands/util"; import React, { useContext } from "react"; -import styled from "styled-components"; import { lightGray, vscBackground } from ".."; import { IdeMessengerContext } from "../../context/IdeMessenger"; import { getFontSize } from "../../util";