feat: 支持gpt4o
All checks were successful
Egg Server MIflow / build-image (push) Successful in 48s

This commit is contained in:
zhaoyingbo 2024-09-27 02:25:46 +00:00
parent 14a24f4373
commit 9080b4c98c
2 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,10 @@ const sendFunctionSelector = async (ctx: Context.Data) => {
}
// 组织功能数据
const functions = [
{
text: "总结消息 (gpt-4o)",
value: "summary-gpt-4o|总结消息 (gpt-4o)",
},
{
text: "总结消息 (deepseek-chat)",
value: "summary-deepseek-chat|总结消息 (deepseek-chat)",

View File

@ -32,6 +32,11 @@ const modelMap = {
apiKey: "xx",
baseURL: "http://10.38.214.206:8000/v1",
},
"gpt-4o": {
model: "gpt-4o",
apiKey: "sk-EhbBTR0QjhH22iLr9aCb04D2B0F44f88A07c2924Eb54CfA4",
baseURL: "https://api.gpt.ge",
},
}
/**