added gpt-4.1 and removed gpt-4.5-preview

This commit is contained in:
Davidlasky
2025-04-15 12:52:30 -05:00
parent f2a5af7556
commit d02f9b0dd4
3 changed files with 7 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ import { isModelNotavailableInServer } from "../app/utils/model";
describe("isModelNotavailableInServer", () => {
test("test model will return false, which means the model is available", () => {
const customModels = "";
const modelName = "gpt-4o";
const modelName = "gpt-4.1";
const providerNames = "OpenAI";
const result = isModelNotavailableInServer(
customModels,

View File

@@ -15,7 +15,7 @@ describe("isVisionModel", () => {
test("should identify vision models using regex patterns", () => {
const visionModels = [
"gpt-4o",
"gpt-4.1",
"claude-3-opus",
"gemini-1.5-pro",
"gemini-2.0",