diff --git a/fastchat/serve/call_monitor.py b/fastchat/serve/call_monitor.py index bc456f107..2b23b5cbb 100644 --- a/fastchat/serve/call_monitor.py +++ b/fastchat/serve/call_monitor.py @@ -71,8 +71,6 @@ def get_model_call_limit(self, model: str) -> int: return self.model_call_limit_global[model] def update_model_call_limit(self, model: str, limit: int) -> bool: - if model not in self.model_call_limit_global: - return False self.model_call_limit_global[model] = limit return True