VeryOnly123 commited on
Commit
52c63f5
·
1 Parent(s): f61d9cb
Files changed (1) hide show
  1. solver.py +9 -0
solver.py CHANGED
@@ -270,6 +270,15 @@ def debug_info():
270
  "timeout": DEFAULT_TIMEOUT,
271
  "max_tasks": MAX_TASKS,
272
  "tasks_count": len(tasks),
 
 
 
 
 
 
 
 
 
273
  }
274
  if os.path.isdir(SOLVER_SRC):
275
  info["solver_files"] = os.listdir(SOLVER_SRC)
 
270
  "timeout": DEFAULT_TIMEOUT,
271
  "max_tasks": MAX_TASKS,
272
  "tasks_count": len(tasks),
273
+ # Dump all env var keys matching common patterns (values masked)
274
+ "env_keys_found": sorted([
275
+ k for k in os.environ
276
+ if any(pat in k.lower() for pat in [
277
+ "key", "token", "secret", "anthropic", "hf_", "hugging"
278
+ ])
279
+ ]),
280
+ # Full env var names (first 30, for debugging HF secret injection)
281
+ "all_env_keys_sample": sorted(os.environ.keys())[:30],
282
  }
283
  if os.path.isdir(SOLVER_SRC):
284
  info["solver_files"] = os.listdir(SOLVER_SRC)