Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(kimi): narrow budgeted provider type
  • Loading branch information
wbxl2000 committed May 20, 2026
commit f26b1f784dce118614833629bb3c0e42d3e40ba6
2 changes: 2 additions & 0 deletions tests/core/test_kimisoul_completion_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_dynamic_completion_budget_preserves_explicit_kimi_cap(

budgeted = soul._with_dynamic_completion_budget(chat_provider)

assert isinstance(budgeted, Kimi)
assert budgeted.model_parameters["max_completion_tokens"] == 1234


Expand All @@ -95,4 +96,5 @@ async def test_dynamic_completion_budget_clamps_explicit_kimi_cap(

budgeted = soul._with_dynamic_completion_budget(chat_provider)

assert isinstance(budgeted, Kimi)
assert budgeted.model_parameters["max_completion_tokens"] == 168
Loading