mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
moar fixes
This commit is contained in:
parent
c1c06e6e2f
commit
d9b47218c6
35 changed files with 6269 additions and 611 deletions
|
@ -635,7 +635,7 @@ async def convert_message_to_openai_dict_new(
|
|||
id=tool.call_id,
|
||||
function=OpenAIFunction(
|
||||
name=(tool.tool_name if not isinstance(tool.tool_name, BuiltinTool) else tool.tool_name.value),
|
||||
arguments=json.dumps(tool.arguments),
|
||||
arguments=tool.arguments, # Already a JSON string, don't double-encode
|
||||
),
|
||||
type="function",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue