From 8d54cfcefbb19851cd3cef2e54599df01af238f0 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 11 Aug 2025 08:19:31 +0530 Subject: [PATCH] remove system message from models.ts --- gui/src/pages/AddNewModel/configs/models.ts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index b5c4bbae5..4e032ca7d 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -653,7 +653,6 @@ export const models: { [key: string]: ModelPackage } = { model: "granite-code", contextLength: 20_000, title: "Granite Code", - systemMessage: `You are Granite Chat, an AI language model developed by IBM. You are a cautious assistant. You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior. You always respond to greetings (for example, hi, hello, g'day, morning, afternoon, evening, night, what's up, nice to meet you, sup, etc) with "Hello! I am Granite Chat, created by IBM. How can I help you today?". Please do not say anything else and do not start a conversation.`, }, providerOptions: ["ollama", "lmstudio", "llama.cpp", "replicate"], icon: "ibm.png", @@ -1128,8 +1127,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-4o", contextLength: 128_000, title: "GPT-4o", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["openai", "askSage"], icon: "openai.png", @@ -1143,8 +1140,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-4o-mini", contextLength: 128_000, title: "GPT-4o mini", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["openai", "askSage"], icon: "openai.png", @@ -1398,8 +1393,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt4-gov", contextLength: 128_000, title: "GPT-4 gov", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", // Need to set this on the Ask Sage side or just configure it in here to be discussed }, providerOptions: ["askSage"], icon: "openai.png", @@ -1413,8 +1406,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-4o-gov", contextLength: 128_000, title: "GPT-4o-gov", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", // Need to set this on the Ask Sage side or just configure it in here to be discussed }, providerOptions: ["askSage"], icon: "openai.png", @@ -1427,8 +1418,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-gov", contextLength: 8096, title: "GPT-3.5-Turbo gov", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", // Need to set this on the Ask Sage side or just configure it in here to be discussed }, providerOptions: ["askSage"], icon: "openai.png", @@ -1442,8 +1431,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-4o-mini-gov", contextLength: 128_000, title: "GPT-4o-mini gov", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", // Need to set this on the Ask Sage side or just configure it in here to be discussed }, providerOptions: ["askSage"], icon: "openai.png", @@ -1483,8 +1470,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-o1", contextLength: 128_000, title: "GPT-o1", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["askSage"], icon: "openai.png", @@ -1498,8 +1483,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-o1-mini", contextLength: 128_000, title: "GPT-o1-mini", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["askSage"], icon: "openai.png", @@ -1513,8 +1496,6 @@ export const models: { [key: string]: ModelPackage } = { model: "gpt-o3-mini", contextLength: 200_000, title: "GPT-o3-mini", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["askSage"], icon: "openai.png", @@ -1528,8 +1509,6 @@ export const models: { [key: string]: ModelPackage } = { model: "aws-bedrock-claude-35-sonnet-gov", contextLength: 200_000, title: "Claude 3.5 Sonnet gov", - systemMessage: - "You are an expert software developer. You give helpful and concise responses.", }, providerOptions: ["askSage"], icon: "anthropic.png",