mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(main.py): pass 'thinking' param on async completion call
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 38s
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 38s
This commit is contained in:
parent
9932c38b3e
commit
5b804e5d9b
3 changed files with 110 additions and 0 deletions
|
@ -433,6 +433,7 @@ async def acompletion(
|
|||
"reasoning_effort": reasoning_effort,
|
||||
"extra_headers": extra_headers,
|
||||
"acompletion": True, # assuming this is a required parameter
|
||||
"thinking": thinking,
|
||||
}
|
||||
if custom_llm_provider is None:
|
||||
_, custom_llm_provider, _, _ = get_llm_provider(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue