mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 18:55:07 +03:00
9 lines
358 B
Python
9 lines
358 B
Python
"""Native coding agent support for Open Terminal environments."""
|
|
|
|
|
|
def reasoning_effort(options):
|
|
params = options.get('params') or {}
|
|
params = {**params, **(params.get('custom_params') or {})}
|
|
value = params.get('reasoningEffort') or params.get('reasoning_effort')
|
|
return value.strip() if isinstance(value, str) and value.strip() else None
|