* Studio: forward preserve_thinking + reasoning_effort on the OpenAI passthrough * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Provide _request_reasoning_kwargs on the responses passthrough test backend mock The OpenAI passthrough body builder now asks the active backend for capability-gated reasoning kwargs. The responses stream adapter test fakes the backend with a bare SimpleNamespace, so give it the same method a non-reasoning template would expose (returns None, keeping chat_template_kwargs out of the captured body). * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Shorten the backend mock comment --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Han <danielhanchen@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||