litellm/tests/unit/llms/opencode
moe-berri dd7d77fea1
fix(opencode_go): forward chat reasoning effort (#52156)
* test(opencode_go): cover chat reasoning effort forwarding

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(opencode_go): forward chat reasoning effort for reasoning models

Preserve reasoning_effort through chat parameter validation. Keep models without declared reasoning support unchanged. Related contributor change in #51879.

Co-authored-by: PCTEJA <39472754+PCTEJA@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(opencode_go): tighten capability and translation assertions

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: PCTEJA <39472754+PCTEJA@users.noreply.github.com>
2026-11-16 16:31:56 -08:00
..
chat fix(opencode_go): forward chat reasoning effort (#52156) 2026-11-16 16:31:56 -08:00
harness fix(harness): set PWD to the working directory of local sandbox commands (#47530) 2026-10-20 20:06:11 +00:00
__init__.py
test_transformation.py refactor: clean up fresh tech debt in proxy auth reads, chatgpt credential forwarding, messages drop_params reads, router context signatures and spend log reads (#46643) 2026-11-04 09:09:50 +00:00