We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b76d4 commit a0a487fCopy full SHA for a0a487f
eval_protocol/utils/logs_server.py
@@ -93,7 +93,7 @@ def disconnect(self, websocket: WebSocket):
93
94
def broadcast_file_update(self, update_type: str, file_path: str):
95
"""Broadcast file update to all connected clients."""
96
- if not file_path.startswith(default_logger.datasets_dir) and not file_path.endswith(".jsonl"):
+ if not file_path.startswith(default_logger.datasets_dir) or not file_path.endswith(".jsonl"):
97
"""
98
.lock files are often created and deleted by the singleton lock
99
mechanism so we only broadcast .jsonl files
0 commit comments