Remove redundant installed_engines endpoint

This commit is contained in:
Brett Williams
2026-06-06 01:03:16 -05:00
parent f3d469af53
commit 95341e815c
3 changed files with 23 additions and 22 deletions
-10
View File
@@ -380,16 +380,6 @@ def get_engine_for_filename():
return f"Error: cannot find a suitable engine for '{filename}'", 400
return found_engine.name()
@server.get('/api/installed_engines')
def get_installed_engines():
result = {}
for engine_class in EngineManager.supported_engines():
data = EngineManager.all_version_data_for_engine(engine_class.name())
if data:
result[engine_class.name()] = data
return result
def _validated_engine_response_type():
response_type = request.args.get('response_type', 'standard')
if response_type not in ['full', 'standard']: