File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -110,18 +110,6 @@ def load_models() -> list[Model]:
110110 print (f"Error loading models from { models_path } : { e } " )
111111 # Fall through to auto-generation
112112
113- # Check for example file as fallback
114- example = Path (__file__ ).resolve ().parent .parent .parent / "models.example.json"
115- if example .exists ():
116- print (f"Loading models from example file: { example } " )
117- try :
118- with example .open ("r" ) as f :
119- data = json .load (f )
120- return [Model (** model ) for model in data .get ("models" , [])]
121- except Exception as e :
122- print (f"Error loading models from { example } : { e } " )
123- # Fall through to auto-generation
124-
125113 # Auto-generate models from OpenRouter API
126114 print ("Auto-generating models from OpenRouter API" )
127115 source_filter = os .getenv ("SOURCE" )
You can’t perform that action at this time.
0 commit comments