-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Jinja exception with gpt-oss model #10805
Copy link
Copy link
Closed
Description
Question
When I have opencode using gpt-oss-120b model (locally hosted on llama.cpp), I occasionally get the following error:
While executing CallExpression at line 296, column 36 in source:
...g %}↵ {{- raise_exception("Cannot pass both content and thinking ...
^
Error: Jinja Exception: Cannot pass both content and thinking in an assistant message with tool calls! Put the analysis message in one or the other, but not both.
Not sure where to begin troubleshooting this to determine if it's an issue in opencode, llama.cpp, or the jinja template. Please help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels