"docs/vscode:/vscode.git/clone" did not exist on "17be9e1607d81936e51c7fde112086cd31d2588e"
Unverified Commit c344da4c authored by Patrick Devine's avatar Patrick Devine Committed by GitHub
Browse files

fix keepalive for non-interactive mode (#4438)

parent 0e331c71
......@@ -905,14 +905,15 @@ func generate(cmd *cobra.Command, opts runOptions) error {
}
request := api.GenerateRequest{
Model: opts.Model,
Prompt: opts.Prompt,
Context: generateContext,
Images: opts.Images,
Format: opts.Format,
System: opts.System,
Template: opts.Template,
Options: opts.Options,
Model: opts.Model,
Prompt: opts.Prompt,
Context: generateContext,
Images: opts.Images,
Format: opts.Format,
System: opts.System,
Template: opts.Template,
Options: opts.Options,
KeepAlive: opts.KeepAlive,
}
if err := client.Generate(ctx, &request, fn); err != nil {
......
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