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エラー修正 --- src/ollama_web/sessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ollama_web/sessions.py') diff --git a/src/ollama_web/sessions.py b/src/ollama_web/sessions.py index 388066b..4075649 100644 --- a/src/ollama_web/sessions.py +++ b/src/ollama_web/sessions.py @@ -92,7 +92,7 @@ class ChatMessage: token_count: dict[str, int] | None = None def to_dict(self) -> dict[str, Any]: - out = { + out: dict[str, Any] = { "role": self.role, "content": self.content, "attachments": list(self.attachments), -- cgit v1.2.3