InnerI commited on
Commit
966d8d3
·
verified ·
1 Parent(s): 2767e50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -394,7 +394,7 @@ if tier not in PLANS:
394
  tier_max = PLANS[tier]["max_tool_risk"]
395
  risk_rank = {"low": 1, "med": 2, "high": 3}
396
  tier_max_rank = risk_rank[tier_max]
397
- for tc, tm in zip(tools, tools_meta):
398
  try:
399
  validate(instance=tc.get("args", {}), schema=tm["schema"])
400
  except ValidationError:
 
394
  tier_max = PLANS[tier]["max_tool_risk"]
395
  risk_rank = {"low": 1, "med": 2, "high": 3}
396
  tier_max_rank = risk_rank[tier_max]
397
+ for tc, tm in zip(tools, tools_meta):
398
  try:
399
  validate(instance=tc.get("args", {}), schema=tm["schema"])
400
  except ValidationError: