minor fixes to actually do something with agent availability

This commit is contained in:
Pagwin 2026-06-10 12:44:59 -04:00
parent 70c65fa178
commit b8b21bad6b
No known key found for this signature in database
GPG key ID: 81137023740CA260
3 changed files with 5 additions and 4 deletions

View file

@ -130,10 +130,10 @@ AGENT_AVAILABILITY = {
"baron": [], "baron": [],
"prodigy": [], "prodigy": [],
"provisioner": [], "provisioner": [],
"metallurgist": [2, 3, 4, 5], "metallurgist": [],
"builder": [2, 3, 4], "builder": [],
"courier": [], "courier": [],
"planner": [1, 2, 3, 4, 5], "planner": [],
"fence": [], "fence": [],
"foreman": [], "foreman": [],
"industrialist": [], "industrialist": [],

View file

@ -193,7 +193,6 @@
} }
.output-section { .output-section {
display: none;
margin-top: 30px; margin-top: 30px;
padding: 20px; padding: 20px;
background: #f5f5f5; background: #f5f5f5;

View file

@ -109,6 +109,8 @@ def solve_handler():
else: else:
agent_availability[agent_name] = [] agent_availability[agent_name] = []
solve.AGENT_AVAILABILITY = agent_availability
# Parse time limit # Parse time limit
time_limit = float(data.get("time_limit", 60.0)) time_limit = float(data.get("time_limit", 60.0))