← Về thư mục
tests/test_host_llm_service.py
- _config · function · L13-L21 — def _config(tmp_path)
- test_single_call_forwards_exact_options_and_normalizes_content · function · L24-L54 — def test_single_call_forwards_exact_options_and_normalizes_content(tmp_path)
- chat · function · L28-L30 — def chat(messages, llm_config, **options)
- test_batch_preserves_order_and_bounds_requested_concurrency · function · L57-L99 — def test_batch_preserves_order_and_bounds_requested_concurrency(tmp_path)
- Executor · class · L60-L71 — class Executor
- init · method · L61-L62 — def init(self, max_workers)
- enter · method · L64-L65 — def enter(self)
- exit · method · L67-L68 — def exit(self, *_args)
- map · method · L70-L71 — def map(self, function, items)
- test_fanout_cap_and_one_call_are_late_bound · function · L102-L133 — def test_fanout_cap_and_one_call_are_late_bound(tmp_path)
- Executor · class · L107-L118 — class Executor
- init · method · L108-L109 — def init(self, max_workers)
- enter · method · L111-L112 — def enter(self)
- exit · method · L114-L115 — def exit(self, *_args)
- map · method · L117-L118 — def map(self, function, items)
- test_model_projection_reads_live_configuration · function · L136-L166 — def test_model_projection_reads_live_configuration(tmp_path)
- test_dispatcher_keeps_late_chat_and_private_one_call_compatibility · function · L169-L196 — def test_dispatcher_keeps_late_chat_and_private_one_call_compatibility( tmp_path, monkeypatch )
- fake_chat · function · L175-L177 — def fake_chat(messages, config, **options)
- test_invalid_concurrency_type_keeps_hard_failure · function · L199-L205 — def test_invalid_concurrency_type_keeps_hard_failure(tmp_path)
- test_single_and_batch_item_failures_remain_hard · function · L208-L218 — def test_single_and_batch_item_failures_remain_hard(tmp_path)
- fail · function · L209-L210 — def fail(messages, _config, **_options)