oterm/tests/agent
Yiorgis Gozadinos 28206897ac
Simplify the codebase and remove comments with no use
- Drop throttle and debounce; LogViewer polls with set_interval.
- OTerm actions share an _active_chat() lookup.
- ChatEdit dismisses with a ChatModel instead of JSON, drops the
  supported-settings filter (every parameter it offers is in the base
  ModelSettings, so the filter never removed anything), and holds its
  state in plain attributes instead of unwatched reactives.
- ToolMeta is a TypedDict; resolve_api_key and BUILTIN_OPENAI_COMPAT
  are public since agent.py imports them.
- Ollama URL helpers derive from one another and share one client
  constructor.
- Store maps rows to ChatModel in one place; build_user_prompt decodes
  images in one place.
- Remove mutable default arguments, unused attributes and parameters,
  and four tcss rules that match nothing.
- Rename supress_logging to suppress_logging.
- Delete comments that restate the code; correct ones that were false
  (the logging comment in cli, the pydantic-ai 2.0 note in the 0.18.0
  upgrade, a stale Textual version in cancel_streams).
2026-09-26 16:23:23 +03:00
..
__init__.py Add agent-tier tests for history, errors, streaming, regenerate 2026-04-24 22:11:11 +03:00
test_errors.py Simplify the codebase and remove comments with no use 2026-09-26 16:23:23 +03:00
test_history.py Drop dead VCR scaffolding and tighten MessageModel.role to user/assistant 2026-04-26 21:26:00 +03:00
test_regenerate.py Simplify the codebase and remove comments with no use 2026-09-26 16:23:23 +03:00
test_streaming.py Merge pull request #322 from ggozad/feat/capabilities 2026-07-25 10:55:39 +03:00