From 515f96a7779f117a7e37f854de2ded99160d0c76 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sun, 2 Aug 2026 15:50:41 +0900 Subject: scrape_url / pdf_to_text / search_and_fetch はページング(継続トークン方式)に対応 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mypy 6エラー修正 --- tests/test_settings.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/test_settings.py') diff --git a/tests/test_settings.py b/tests/test_settings.py index 29ec2c1..0f334f4 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -123,8 +123,7 @@ def test_settings_api_and_page_elements(tmp_path: Path) -> None: assert 'data-settings-screen="ui"' in html assert 'data-settings-screen="ollama"' in html num_keep = ( - 'data-option="num_keep" data-type="int" type="number" ' - 'step="1" placeholder="24"' + 'data-option="num_keep" data-type="int" type="number" step="1" placeholder="24"' ) assert num_keep in html assert "<|eot_id|>" in html @@ -159,9 +158,7 @@ def test_options_are_forwarded_to_tool_and_final_rounds(monkeypatch: pytest.Monk "message": { "role": "assistant", "content": "", - "tool_calls": [ - {"function": {"name": "missing_tool", "arguments": {}}} - ], + "tool_calls": [{"function": {"name": "missing_tool", "arguments": {}}}], } } return {"message": {"role": "assistant", "content": "done"}} -- cgit v1.2.3