Skip to content

Commit

Permalink
Merge branch 'main' into ci/fix/enable-ci-all-contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
mohab-sameh authored Sep 25, 2024
2 parents 70e71d9 + 4e41a9e commit 61f4478
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
5 changes: 0 additions & 5 deletions apps/backend/src/constants.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ import {
} from "@studio/components/ui/select";
import { useCFSStore } from "app/(website)/studio/src/store/CFS";

const legacyEngines = [
"gpt-4",
"claude-2.0",
"claude-instant-1.2",
"replit-code-v1-3b",
"gpt-4-with-chroma",
];

export const EngineSelector = () => {
const {
AIAssistant: { engine },
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/app/(website)/studio/src/api/sendMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const sendChat = async ({
SEND_CHAT,
{
messages: [{ content: message, role: "user" }],
engine: "gpt-4",
engine: "gpt-4o-mini",
},
{ headers: { Authorization: `Bearer ${token}` } },
);
Expand Down
2 changes: 1 addition & 1 deletion apps/modgpt/src/routes/sendChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const OpenAIConfiguration = openAiEdge.Configuration;
const COMPLETION_PARAMS = {
top_p: 0.1,
temperature: 0.2,
model: "gpt-4",
model: "gpt-4o",
};

const chatGptApi = new ChatGPTAPI({
Expand Down

0 comments on commit 61f4478

Please sign in to comment.