dbus: pass systemPrompt arg to CreateSession call
This commit is contained in:
parent
35cf8ad0d9
commit
d927d60ba5
2
dbus.go
2
dbus.go
|
|
@ -262,7 +262,7 @@ func dbusCreateSession(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
call, err := dbusCall("CreateSession", req.CWD, req.Backend, req.Model, req.Agent)
|
||||
call, err := dbusCall("CreateSession", req.CWD, req.Backend, req.Model, req.Agent, "")
|
||||
if err != nil {
|
||||
writeJSON(w, http.StatusBadGateway, map[string]string{"error": err.Error()})
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue