backend_test/docs: LMStudio/Ollama run 接続エンドポイントのテスト追加とドキュメント修正

- backend_test: /run/lmstudio_connection, /run/ollama_connection をテスト対象に追加(期待ステータス 200,400)
- docs: controller.md / mainloop.md の LMStudio/Ollama 接続エンドポイント表記を /get/data→/run に修正
- docs: APIキー検証の厳格化と翻訳モデル選択時の適用確実化に関する説明を追記
This commit is contained in:
misyaguziya
2025-10-20 12:23:16 +09:00
parent 306f0af734
commit 87d11c617c
3 changed files with 20 additions and 1 deletions

View File

@@ -528,6 +528,12 @@ class TestMainloop():
case "/run/feed_watchdog":
data = None
expected_status = [401] # !!!Cant be tested here!!!
case "/run/lmstudio_connection":
data = None
expected_status = [200, 400]
case "/run/ollama_connection":
data = None
expected_status = [200, 400]
case _:
data = None
expected_status = [404]