litellm/tests/test_litellm/proxy/client
devin-ai-integration[bot] a6b7384094
feat(cli): sync OpenCode models from /v1/models in lite opencode (#39789)
* feat(cli): sync OpenCode models from /v1/models in lite opencode

lite opencode now fetches the proxy's /v1/models with the resolved key and
hands OpenCode an OPENCODE_CONFIG_CONTENT declaring a litellm provider
(@ai-sdk/openai-compatible, proxy /v1 base URL, {env:OPENAI_API_KEY}) with one
model entry per listed chat model, so the model picker mirrors the proxy
without a hand-maintained opencode.json

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

* fix(cli): sync OpenCode models only after the key check passes

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

---------

Co-authored-by: yassin <yassin@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-04 17:16:48 -07:00
..
cli feat(cli): sync OpenCode models from /v1/models in lite opencode (#39789) 2026-09-04 17:16:48 -07:00
conftest.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00
test_chat.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_client.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_credentials.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_http_client.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_http_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_keys.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_model_groups.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_models.py fix(proxy): give the remaining CLI clients a request timeout 2026-08-29 13:32:39 -07:00
test_teams.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00
test_users.py fix(proxy): give every requests call a timeout so a silent server cannot hang the caller 2026-08-25 10:12:33 -07:00