← Về thư mục
tests/test_compaction_cli_budget.py
- ScriptedLLM · class · L18-L34 — class ScriptedLLM
- init · method · L21-L23 — def init(self, replies)
- call · method · L25-L34 — def call(self, messages, cfg, **kw)
- _finalize_chat · function · L37-L61 — def _finalize_chat(messages, cfg, **kwargs)
- _patch_capabilities · function · L74-L81 — def _patch_capabilities(monkeypatch, impl)
- _count_compact · function · L84-L92 — def _count_compact(monkeypatch)
- fake_compact · function · L87-L89 — def fake_compact(messages, cfg, **kwargs)
- _schema_name · function · L95-L104 — def _schema_name(schema)
- test_cli_compacts_against_model_usable_window · function · L107-L124 — def test_cli_compacts_against_model_usable_window(monkeypatch)
- test_cli_capability_lookup_failure_falls_back_without_compacting · function · L127-L140 — def test_cli_capability_lookup_failure_falls_back_without_compacting(monkeypatch)
- boom · function · L128-L129 — def boom(_args, *_kwargs)
- test_cli_compaction_counts_finalize_response_schema · function · L143-L163 — def test_cli_compaction_counts_finalize_response_schema(monkeypatch)
- capturing · function · L147-L149 — def capturing(messages, tool_schemas=(), args, *kwargs)