Commit
·
0e8e333
1
Parent(s):
0b0e2f2
- hf_backend.py +0 -1
hf_backend.py
CHANGED
|
@@ -117,7 +117,6 @@ class HFChatBackend(ChatBackend):
|
|
| 117 |
prompt = tokenizer.apply_chat_template(
|
| 118 |
messages,
|
| 119 |
tokenize=False,
|
| 120 |
-
tools=request.get("tools"),
|
| 121 |
add_generation_prompt=True,
|
| 122 |
)
|
| 123 |
logger.debug("Applied chat template for prompt")
|
|
|
|
| 117 |
prompt = tokenizer.apply_chat_template(
|
| 118 |
messages,
|
| 119 |
tokenize=False,
|
|
|
|
| 120 |
add_generation_prompt=True,
|
| 121 |
)
|
| 122 |
logger.debug("Applied chat template for prompt")
|