summaryrefslogtreecommitdiff
path: root/src/ollama_web/app.py
AgeCommit message (Collapse)Author
2026-08-16refactor: streamline chat flow and improve diagnosticstanaka takashi
Store server.log inside OLLAMA_WEB_DATA_DIR and manage the ollama-web file handler through the Starlette lifespan. Close and detach the handler on shutdown to prevent duplicate records and Windows file locks when applications are recreated. Stop converting DuckDuckGo provider failures into empty search results. Record a query-safe traceback, re-raise the original exception, and let ToolRegistry expose the exception type and message as a tool error without adding or spoofing Referer headers. Remove the unused non-streaming chat_with_tools implementation and its private helpers. Move capability, options, standard tool, MCP tool, and final tools=[] regression coverage onto the production streaming path. Add integration coverage for data/server.log placement, handler cleanup, repeated lifespans, and provider 403 diagnostics. Update the Unreleased changelog entry. Validated with 118 tests, Ruff, mypy, diff checks, real DuckDuckGo searches, successful result-page fetches, and observable 401/403 responses from sites that reject automated retrieval.
2026-06-28モデル名によってthinkingトグルがグレーアウトする不具å� ↵tanaka takashi
ˆを修正 モデル名にスラッシュが含まれている場合にStarlette側でエスケープされる問題を回避
2026-06-27一般設定の追加(UI/Ollama設定) settings.jsonに設定を保存 ↵tanaka takashi
UIから言語設定対応 Ollama設定でシステムプロンプト, temperature, コンテキスト長などのパラメータを設定可能
2026-06-27マルチ言語対応。MCP設定画面の言語切り替え表示にバグã ↵tanaka takashi
�‚り
2026-06-26MCP機能追加tanaka takashi
2026-06-25各モデルの機能を取得するように修正。thinking, tools, ↵tanaka takashi
vision対応モデルに応じて機能を変えるように変更。クリアボタンのバグを修正
2026-06-24Harden web UI securitytanaka takashi
2026-06-24機能追加(セッション、左ペインでのセッション管理、フ ↵tanaka takashi
ァイル取得ツール、pdfテキスト化ツール)
2026-06-23基本機能実装tanaka takashi