Yuneng Jiang
e69dfbc07d
Merge main and resolve conflict in test_router_client_init.py
...
Keep both AZURE_AI_API_KEY (renamed on main) and AZURE_OPENAI_API_KEY
(added in this branch) env var cleanup.
2026-03-30 18:44:33 -07:00
Yuneng Jiang
05ecfa3470
[Fix] Use correct Redis env vars and fix Azure AD token test mocking
...
- test_caching_router: Use REDIS_HOST/PORT/PASSWORD/SSL instead of
non-existent REDIS_HOST_2 variants
- test_router_init_azure_service_principal: Use monkeypatch.setenv instead
of patching the os module in only one file, so both common_utils._resolve_env_var
and get_azure_ad_token_provider see the mocked credentials. Also clear
AZURE_OPENAI_API_KEY to prevent it from short-circuiting the token provider path.
2026-03-30 18:32:04 -07:00
Krrish Dholakia
bc829d51f2
test: test
2026-03-28 19:17:38 -07:00
Ishaan Jaffer
0bedf1c0a7
fix tests
2025-10-25 10:19:24 -07:00
Ishaan Jaffer
c27beb74b9
test fix
2025-09-27 12:40:34 -07:00
Krrish Dholakia
b122ead5b3
test: update tests
2025-05-20 13:08:47 -07:00
Krish Dholakia
1ea046cc61
test: update tests to new deployment model ( #10142 )
...
* test: update tests to new deployment model
* test: update model name
* test: skip cohere rbac issue test
* test: update test - replace gpt-4o model
2025-04-18 14:22:12 -07:00
Ishaan Jaff
5c854650c2
(redis fix) - fix AbstractConnection.__init__() got an unexpected keyword argument 'ssl' ( #6908 )
...
* add better debugging for get_redis_connection_pool + allow passing ssl=None
* test_redis_with_ssl
* test_redis_with_ssl
* test_redis_with_ssl
2024-11-25 22:52:44 -08:00
Ishaan Jaff
4d1b4beb3d
(refactor) caching use LLMCachingHandler for async_get_cache and set_cache ( #6208 )
...
* use folder for caching
* fix importing caching
* fix clickhouse pyright
* fix linting
* fix correctly pass kwargs and args
* fix test case for embedding
* fix linting
* fix embedding caching logic
* fix refactor handle utils.py
* fix test_embedding_caching_azure_individual_items_reordered
2024-10-14 16:34:01 +05:30
Krrish Dholakia
3560f0ef2c
refactor: move all testing to top-level of repo
...
Closes https://github.com/BerriAI/litellm/issues/486
2024-09-28 21:08:14 -07:00