gitea获取diff更改 dockerfile更改 日志输出至文件
This commit is contained in:
@ -45,6 +45,7 @@ func (c *Client) Chat(systemMsg, prompt string) (string, error) {
|
||||
var response string
|
||||
var err error
|
||||
|
||||
log.Printf("AImodel=%s, prompt=%s", c.model, prompt)
|
||||
if c.aiType == "ollama" {
|
||||
response, err = c.ollamaChat(systemMsg, prompt)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user