<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ollama-web.git/src/ollama_web/routes/chat.py, branch v0.5.2</title>
<subtitle>A lightweight personal Ollama Web UI with web search, PDF attachments, and MCP tools.
</subtitle>
<id>https://git.takashi-2521.com/ollama-web.git/atom?h=v0.5.2</id>
<link rel='self' href='https://git.takashi-2521.com/ollama-web.git/atom?h=v0.5.2'/>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/'/>
<updated>2026-08-23T08:28:39+00:00</updated>
<entry>
<title>fix(tools): PDFページングを損失なしカーソル方式へ再設計</title>
<updated>2026-08-23T08:28:39+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-08-23T08:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=33f6b4dbb69e9366e312a8b44dbed9d22e7cba5b'/>
<id>urn:sha1:33f6b4dbb69e9366e312a8b44dbed9d22e7cba5b</id>
<content type='text'>
PDF本文をページ単位で抽出した後に文字数上限で切断しつつ、継続位置だけ次ページへ進めていたため、ページ末尾が復元不能になる問題を修正する。ツール側の本文上限とLLM側の結果上限の不整合、25ページの処理上限、添付経路での継続情報欠落も共通契約で解消する。

- 共通PageResultと、メタデータ込みの結果上限内で本文量を決めるフォーマッターを追加

- v2トークンにPDFのページ番号とページ内文字位置を保持し、v1トークンの読み取り互換性を維持

- pdf_to_text、scrape_url、search_and_fetchを返却済み本文だけカーソルが進む方式へ統一

- max_pdf_pagesを文書全体ではなく1呼び出しの処理上限として扱い、長い単一ページと26ページ目以降の継続取得に対応

- attachment:&lt;file_id&gt;をセッション限定で解決し、既存添付も保存済みプレビューではなく元PDFから再解析

- Web取得ファイルをセッションとURL単位で重複排除し、HTMLおよびテキスト経路の全文ページングも維持

- 正常なページング結果の後段切断を禁止し、結果上限・コンテキスト予算・ラウンド上限では未取得状態を明示

- 日英プロンプト、UIメッセージ、ツールスキーマ、変更履歴を実装へ同期

- 実PDF、30ページ超、長い単一ページ、旧トークン、セッション分離、コンテキスト境界の回帰テストを追加

検証:

- pytest: 130 passed

- ruff check src tests: passed

- mypy src: passed

- c2144.pdf: 19ページ、抽出本文46015文字（ページ区切り込み46051文字）を8回で重複・欠落なく完全再構成
</content>
</entry>
<entry>
<title>scrape_url / pdf_to_text / search_and_fetch はページング（継続トークン方式）に対応</title>
<updated>2026-08-02T06:50:41+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-08-02T06:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=515f96a7779f117a7e37f854de2ded99160d0c76'/>
<id>urn:sha1:515f96a7779f117a7e37f854de2ded99160d0c76</id>
<content type='text'>
mypy 6エラー修正
</content>
</entry>
<entry>
<title>停止ボタンの不具合修正(停止ボタンを押すと送信できなくなるバグを修正)</title>
<updated>2026-07-09T10:52:03+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-07-09T10:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=77eef27cad9b0e5b0551d5a8ea9485779ee7dc18'/>
<id>urn:sha1:77eef27cad9b0e5b0551d5a8ea9485779ee7dc18</id>
<content type='text'>
LLMがメッセージ生成途上で画面スクロールしにくい問題を修正
チャットメッセージバルーンをコピペ対応
トークン消費量をリングゲージで可視化(表示タイミングに不具合あり)
</content>
</entry>
<entry>
<title>システムプロンプトへローカルタイムの現在時刻を注入するように変更</title>
<updated>2026-06-28T05:47:26+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-28T05:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=9e430700cc58adbed5baf110961c08cbcb6a7135'/>
<id>urn:sha1:9e430700cc58adbed5baf110961c08cbcb6a7135</id>
<content type='text'>
</content>
</entry>
<entry>
<title>一般設定の追加(UI/Ollama設定) settings.jsonに設定を保存 UIから言語設定対応 Ollama設定でシステムプロンプト, temperature, コンテキスト長などのパラメータを設定可能</title>
<updated>2026-06-27T08:00:42+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-27T08:00:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=6a362d58a952c2de0d3097b03b212388a6bc35e4'/>
<id>urn:sha1:6a362d58a952c2de0d3097b03b212388a6bc35e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>マルチ言語対応。MCP設定画面の言語切り替え表示にバグあり</title>
<updated>2026-06-27T05:49:12+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-27T05:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=f93822cebf6258c3a31e03745183aa2c8bb56f4d'/>
<id>urn:sha1:f93822cebf6258c3a31e03745183aa2c8bb56f4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MCP server機能をセキュア化</title>
<updated>2026-06-26T16:09:00+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-26T16:09:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=fce9dc1b2940ee6699d2acf0c9e56456d9899581'/>
<id>urn:sha1:fce9dc1b2940ee6699d2acf0c9e56456d9899581</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MCP機能追加</title>
<updated>2026-06-26T14:54:17+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-26T14:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=3a9e8e18df4c596360da54000f65e1bebc6039c2'/>
<id>urn:sha1:3a9e8e18df4c596360da54000f65e1bebc6039c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>各モデルの機能を取得するように修正。thinking, tools, vision対応モデルに応じて機能を変えるように変更。クリアボタンのバグを修正</title>
<updated>2026-06-24T17:41:58+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-24T17:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=5f948a33412dfde6d0a210746e61ac9c8477c9e8'/>
<id>urn:sha1:5f948a33412dfde6d0a210746e61ac9c8477c9e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Harden web UI security</title>
<updated>2026-06-24T13:47:13+00:00</updated>
<author>
<name>tanaka takashi</name>
<email>isazaka@gmail.com</email>
</author>
<published>2026-06-24T13:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.takashi-2521.com/ollama-web.git/commit/?id=e4d421c782a181f421e2987f75b4610845e3ef55'/>
<id>urn:sha1:e4d421c782a181f421e2987f75b4610845e3ef55</id>
<content type='text'>
</content>
</entry>
</feed>
