Fix API search using telegram.me parser
Browse files- __pycache__/front.cpython-312.pyc +0 -0
- front.py +2 -1
__pycache__/front.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/front.cpython-312.pyc and b/__pycache__/front.cpython-312.pyc differ
|
|
|
front.py
CHANGED
|
@@ -750,6 +750,7 @@ MASTER_WORKERS = [
|
|
| 750 |
('tggssou', 'https://xibalami-tggssou.hf.space'),
|
| 751 |
('w1', 'https://xibalami-tgsou-w1.hf.space'),
|
| 752 |
('w2', 'https://xibalami-tgsou-w2.hf.space'),
|
|
|
|
| 753 |
]
|
| 754 |
|
| 755 |
# Historical per-channel load hints. The cost is roughly “links that need
|
|
@@ -1103,7 +1104,7 @@ def handle_search_master(query):
|
|
| 1103 |
'validation': validation,
|
| 1104 |
'master': {
|
| 1105 |
'enabled': True,
|
| 1106 |
-
'strategy': '
|
| 1107 |
'local_base': 'self',
|
| 1108 |
'workers': [{'name': n, 'base': b} for n, b in MASTER_WORKERS],
|
| 1109 |
'planned_loads': {name: round(planned_loads.get(name, 0.0), 3) for name, _ in MASTER_WORKERS},
|
|
|
|
| 750 |
('tggssou', 'https://xibalami-tggssou.hf.space'),
|
| 751 |
('w1', 'https://xibalami-tgsou-w1.hf.space'),
|
| 752 |
('w2', 'https://xibalami-tgsou-w2.hf.space'),
|
| 753 |
+
('w3', 'https://xibalami-tgsou-w3.hf.space'),
|
| 754 |
]
|
| 755 |
|
| 756 |
# Historical per-channel load hints. The cost is roughly “links that need
|
|
|
|
| 1104 |
'validation': validation,
|
| 1105 |
'master': {
|
| 1106 |
'enabled': True,
|
| 1107 |
+
'strategy': 'two_stage_search_then_link_validation_5shards_v1',
|
| 1108 |
'local_base': 'self',
|
| 1109 |
'workers': [{'name': n, 'base': b} for n, b in MASTER_WORKERS],
|
| 1110 |
'planned_loads': {name: round(planned_loads.get(name, 0.0), 3) for name, _ in MASTER_WORKERS},
|