Skip to content

Commit 2f096ca

Browse files
authored
accepts not model itself. (meta-llama#153)
1 parent 5bf679c commit 2f096ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_stack/providers/utils/inference/augment_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def augment_messages_for_tools(request: ChatCompletionRequest) -> List[Message]:
3434
return request.messages
3535

3636
if model.model_family == ModelFamily.llama3_1 or (
37-
model.model_family == ModelFamily.llama3_2 and is_multimodal(model)
37+
model.model_family == ModelFamily.llama3_2 and is_multimodal(model.core_model_id)
3838
):
3939
# llama3.1 and llama3.2 multimodal models follow the same tool prompt format
4040
return augment_messages_for_tools_llama_3_1(request)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy