mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 10:33:53 +00:00
revert some unintentional changes by copying source of truth to llama-models
This commit is contained in:
parent
53a8086e37
commit
cfaf9e0e8b
9 changed files with 133 additions and 113 deletions
|
|
@ -96,6 +96,7 @@ def _convert_to_vllm_tool_calls_in_response(
|
|||
call_id=call.id,
|
||||
tool_name=call.function.name,
|
||||
arguments=json.loads(call.function.arguments),
|
||||
arguments_json=call.function.arguments,
|
||||
)
|
||||
for call in tool_calls
|
||||
]
|
||||
|
|
@ -175,6 +176,7 @@ async def _process_vllm_chat_completion_stream_response(
|
|||
call_id=tool_call_buf.call_id,
|
||||
tool_name=tool_call_buf.tool_name,
|
||||
arguments=args,
|
||||
arguments_json=args_str,
|
||||
),
|
||||
parse_status=ToolCallParseStatus.succeeded,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue