Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mellea/backends/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ async def _generate_from_context_standard(
tools=convert_tools_to_json(tools), # type: ignore
add_generation_prompt=True, # If we change this, must modify huggingface granite guardian.
return_tensors="pt",
return_dict=True,
**self._filter_for_chat_template(model_options),
).to(self._device) # type: ignore

Expand Down
Loading