Commit c50b01bc authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

check `request.Context` for initial system prompt

parent b9dc8754
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment