mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 04:50:39 +00:00
Switch to more pythonic syntax
This commit is contained in:
parent
7d062550c9
commit
33c65ad86b
1 changed files with 3 additions and 3 deletions
|
@ -178,9 +178,9 @@ async def llama_stack_chat_completion_to_openai_chat_completion_dict(
|
|||
"tools": converted_tools,
|
||||
"tool_choice": converted_tool_choice,
|
||||
"stream": request.stream,
|
||||
**sampling_options,
|
||||
**guided_decoding_options,
|
||||
**logprob_options,
|
||||
}
|
||||
request_options.update(sampling_options)
|
||||
request_options.update(guided_decoding_options)
|
||||
request_options.update(logprob_options)
|
||||
|
||||
return request_options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue