hermes-deploy commited on
Commit ·
d113ea5
1
Parent(s): 31a1595
v16: HOTFIX — restore missing key_vars() call (validator crash); gate verified by simulation
Browse files- gen_router_config.py +4 -0
gen_router_config.py
CHANGED
|
@@ -155,6 +155,10 @@ model_list = []
|
|
| 155 |
tier_count = {"fast": 0, "smart": 0}
|
| 156 |
|
| 157 |
for prefix, label, fast_models, smart_models in PROVIDERS:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
alive = []
|
| 159 |
for kv in kvars:
|
| 160 |
if key_alive(kv):
|
|
|
|
| 155 |
tier_count = {"fast": 0, "smart": 0}
|
| 156 |
|
| 157 |
for prefix, label, fast_models, smart_models in PROVIDERS:
|
| 158 |
+
kvars = key_vars(prefix)
|
| 159 |
+
if not kvars:
|
| 160 |
+
print(f" [skip] {label}: no {prefix}* secrets set", file=sys.stderr)
|
| 161 |
+
continue
|
| 162 |
alive = []
|
| 163 |
for kv in kvars:
|
| 164 |
if key_alive(kv):
|