Skip to content

Commit 5a53da6

Browse files
committed
feat: 调整AI基础路径
1 parent 11748da commit 5a53da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server/api/v1/system/sys_auto_code.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (autoApi *AutoCodeApi) LLMAuto(c *gin.Context) {
118118
return
119119
}
120120

121-
path := strings.ReplaceAll(global.GVA_CONFIG.AutoCode.AiPath, "{FUNC}", fmt.Sprintf("chat/%s", llm["mode"]))
121+
path := strings.ReplaceAll(global.GVA_CONFIG.AutoCode.AiPath, "{FUNC}", fmt.Sprintf("api/chat/%s", llm["mode"]))
122122
res, err := request.HttpRequest(
123123
path,
124124
"POST",

0 commit comments

Comments
 (0)