check request.Context
for initial system prompt
This commit is contained in:
parent
b9dc875401
commit
c50b01bc21
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func (m *Model) Prompt(request api.GenerateRequest) (string, error) {
|
|||
|
||||
vars.Prompt = request.Prompt
|
||||
|
||||
if len(vars.Context) == 0 {
|
||||
if len(request.Context) == 0 {
|
||||
vars.System = m.System
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue