mirror of
https://github.com/ollama/ollama.git
synced 2026-04-24 17:55:43 +02:00
pass the template to the /api/chat endpoint
This commit is contained in:
@@ -947,6 +947,7 @@ func chat(cmd *cobra.Command, opts runOptions) (*api.Message, error) {
|
||||
|
||||
req := &api.ChatRequest{
|
||||
Model: opts.Model,
|
||||
Template: opts.Template,
|
||||
Messages: opts.Messages,
|
||||
Format: opts.Format,
|
||||
Options: opts.Options,
|
||||
|
||||
Reference in New Issue
Block a user