-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Using:
"ollama": "^0.5.14"
Hello,
When using the chat/ api, I noticed that when tools are passed in, the system prompt gets ignored. I'm not sure if this is intended. But I tried both llama3.1 and hermes 3.
Without tools:
With tools:
// payload
{
"model": "hermes3:8b",
"messages": [
{ "role": "system", "content": "always speak like a pirate" },
{ "role": "user", "content": "hello?" }
],
"tools": [
{ "type": "function", "function": {}},
{ "type": "function", "function": {}},
]
}
// response
{
"model": "hermes3:8b",
"created_at": "2025-04-13T07:17:23.756195547Z",
"message": {
"role": "assistant",
"content": "Hello! How can I assist you today?"
},
"done_reason": "stop",
"done": true,
"total_duration": 2317358459,
"load_duration": 96253264,
"prompt_eval_count": 2048,
"prompt_eval_duration": 1585000000,
"eval_count": 10,
"eval_duration": 627000000
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working