add openai-o1

This commit is contained in:
被遗忘的记忆
2024-09-13 13:45:25 +08:00
committed by GitHub
parent 8ae0a8d691
commit b3ba8ba6bc
+2
View File
@@ -10,6 +10,7 @@ const app = express();
const port = process.env.PORT || 8080;
const validApiKey = process.env.PASSWORD;
const availableModels = [
"openai_o1",
"gpt_4o",
"gpt_4_turbo",
"gpt_4",
@@ -37,6 +38,7 @@ const modelMappping = {
"gpt-4": "gpt_4",
"gpt-4o": "gpt_4o",
"gpt-4-turbo": "gpt_4_turbo",
"openai-o1": "openai_o1",
};
// import config.mjs