You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
event_loop_helper.py is at ~52% and the untested paths are complex error-handling branches — lower priority.
Notes
openai_compatible_helpers.py is the headline — three pure functions on the critical path for all OpenAI/Ollama/LiteLLM backends, completely untested at unit level
chat_completion_delta_merge() merges streaming chunks — good candidate for canned data testing
Add unit tests for the helpers module — 77% overall but with critical gaps in code used by every OpenAI-compatible backend.
Scope
openai_compatible_helpers.pyextract_model_tool_requests(),chat_completion_delta_merge(),message_to_openai_message()— all pure functions, zero testsasync_helpers.pysend_to_queue(),wait_for_all_mots()— needs async fixtures/mocksserver_type.py_server_type()— pure URL parsing, trivialevent_loop_helper.pyis at ~52% and the untested paths are complex error-handling branches — lower priority.Notes
openai_compatible_helpers.pyis the headline — three pure functions on the critical path for all OpenAI/Ollama/LiteLLM backends, completely untested at unit levelchat_completion_delta_merge()merges streaming chunks — good candidate for canned data testing~24 tests, single coherent module.