mirror of https://gitee.com/namelin2022/ollama
Browse Source
Previously our OpenAI chat completions compat layer assumed that tool calls and content would never be provided together, but this is not a correct assumption. Content is only optional when tool calls are present, but tool calls and content can be provided together Fixes: https://github.com/ollama/ollama/issues/11704drifkin/print-template
2 changed files with 67 additions and 1 deletions
Loading…
Reference in new issue