refactor: /freqaimodels to webserver section

This commit is contained in:
Matthias
2026-01-20 06:18:26 +01:00
parent 085a9be186
commit 2765277cd0
3 changed files with 13 additions and 10 deletions
+2
View File
@@ -2655,6 +2655,8 @@ def test_list_hyperoptloss(botclient, tmp_path):
def test_api_freqaimodels(botclient, tmp_path, mocker):
ftbot, client = botclient
ftbot.config["user_data_dir"] = tmp_path
ftbot.config["runmode"] = RunMode.WEBSERVER
mocker.patch(
"freqtrade.resolvers.freqaimodel_resolver.FreqaiModelResolver.search_all_objects",
return_value=[