mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-22 10:40:46 +00:00
test(dashscope): restore rerank parameter comments
This commit is contained in:
parent
1d88f95972
commit
80928f56cb
1 changed files with 2 additions and 0 deletions
|
|
@ -152,6 +152,8 @@ class TestDashScopeRerankRequest:
|
|||
}
|
||||
|
||||
def test_map_params_drops_unsupported(self):
|
||||
# qwen3-rerank accepts query/documents/top_n/return_documents.
|
||||
# rank_fields and max_*_per_doc are silently dropped.
|
||||
params = self.config.map_cohere_rerank_params(
|
||||
non_default_params={},
|
||||
model="qwen3-rerank",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue