fix: tool call encoded twice (#2034)

# What does this PR do?


## Test Plan
LLAMA_STACK_CONFIG=http://localhost:5002 pytest -s -v
tests/integration/inference --safety-shield meta-llama/Llama-Guard-3-8B
--vision-model meta-llama/Llama-4-Scout-17B-16E-Instruct --text-model
meta-llama/Llama-4-Scout-17B-16E-Instruct
This commit is contained in:
ehhuang 2025-04-25 13:16:16 -07:00 committed by GitHub
parent 4fb583b407
commit 1b2e116a2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -303,6 +303,7 @@ class ChatFormat:
arguments_json=json.dumps(tool_arguments),
)
)
content = ""
return RawMessage(
role="assistant",