Fix login tokens and fix task clean_messages create_time. (#24574)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
湛露先生
2025-08-27 13:32:18 +08:00
committed by GitHub
parent 372074edba
commit d4883256f1
6 changed files with 21 additions and 16 deletions

View File

@@ -1067,7 +1067,7 @@ class TestModelProviderService:
# Verify mock interactions
mock_provider_manager.get_configurations.assert_called_once_with(tenant.id)
mock_provider_configurations.get_models.assert_called_once_with(model_type=ModelType.LLM)
mock_provider_configurations.get_models.assert_called_once_with(model_type=ModelType.LLM, only_active=True)
def test_get_model_parameter_rules_success(self, db_session_with_containers, mock_external_service_dependencies):
"""