Commit ff42b7fa by xuebin

openai v1/models 完全兼容 解决接入trae时候的字段校验

parent d95d2605
...@@ -174,6 +174,7 @@ func ListModels(c *gin.Context) { ...@@ -174,6 +174,7 @@ func ListModels(c *gin.Context) {
c.JSON(200, gin.H{ c.JSON(200, gin.H{
"success": true, "success": true,
"data": userOpenAiModels, "data": userOpenAiModels,
"object": "list",
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment