feat: 调整AI基础路径
This commit is contained in:
@@ -118,7 +118,7 @@ func (autoApi *AutoCodeApi) LLMAuto(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
path := strings.ReplaceAll(global.GVA_CONFIG.AutoCode.AiPath, "{FUNC}", fmt.Sprintf("chat/%s", llm["mode"]))
|
path := strings.ReplaceAll(global.GVA_CONFIG.AutoCode.AiPath, "{FUNC}", fmt.Sprintf("api/chat/%s", llm["mode"]))
|
||||||
res, err := request.HttpRequest(
|
res, err := request.HttpRequest(
|
||||||
path,
|
path,
|
||||||
"POST",
|
"POST",
|
||||||
|
Reference in New Issue
Block a user