ollama.chat is missing template kwarg. #58

Closed
opened 2026-02-15 16:27:47 -05:00 by yindo · 1 comment
Owner

Originally created by @knoopx on GitHub (Mar 23, 2024).

According to https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion, chat endpoint allows to override the template but the python client doesn't take that argument.

Originally created by @knoopx on GitHub (Mar 23, 2024). According to https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-chat-completion, chat endpoint allows to override the `template` but the python client doesn't take that argument.
yindo closed this issue 2026-02-15 16:27:47 -05:00
Author
Owner

@mxyng commented on GitHub (Apr 24, 2024):

The chat endpoint does not take template as an argument. The linked documentation was wrong and has been updated

@mxyng commented on GitHub (Apr 24, 2024): The chat endpoint does not take template as an argument. The linked documentation was wrong and has been updated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#58