perf: skip broken models and bots in bootstrap

This commit is contained in:
Junyan Qin
2025-06-30 21:29:38 +08:00
parent 1627d04958
commit 89c1972abe
5 changed files with 40 additions and 2 deletions

View File

View File

@@ -0,0 +1,9 @@
from __future__ import annotations
class AdapterNotFoundError(Exception):
def __init__(self, adapter_name: str):
self.adapter_name = adapter_name
def __str__(self):
return f'Adapter {self.adapter_name} not found'

View File

@@ -0,0 +1,9 @@
from __future__ import annotations
class RequesterNotFoundError(Exception):
def __init__(self, requester_name: str):
self.requester_name = requester_name
def __str__(self):
return f'Requester {self.requester_name} not found'