feat(api): remove tool_name from ToolResponseMessage (#1599)

Summary:
This is not used anywhere.

closes #1421 

Test Plan:
LLAMA_STACK_CONFIG=fireworks pytest -s -v
tests/integration/agents/test_agents.py --safety-shield
meta-llama/Llama-Guard-3-8B --text-model
meta-llama/Llama-3.1-8B-Instruct --record-responses
This commit is contained in:
ehhuang 2025-03-12 19:41:48 -07:00 committed by GitHub
parent 6bfcb65343
commit a505bf45a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8637 additions and 192 deletions

View file

@ -117,13 +117,11 @@ class ToolResponseMessage(BaseModel):
:param role: Must be "tool" to identify this as a tool response
:param call_id: Unique identifier for the tool call this response is for
:param tool_name: Name of the tool that was called
:param content: The response content from the tool
"""
role: Literal["tool"] = "tool"
call_id: str
tool_name: Union[BuiltinTool, str]
content: InterleavedContent