From 17aa453689755910cd7eceb436a07e4aed25a0b4 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Thu, 24 Sep 2026 17:27:09 +0530 Subject: [PATCH] docs(title): point the wait-for-turn docstring at _is_self_hosted_provider --- agent/title_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/title_generator.py b/agent/title_generator.py index e5297b0811..0199511177 100644 --- a/agent/title_generator.py +++ b/agent/title_generator.py @@ -180,7 +180,7 @@ def _model_title_upgrade_enabled() -> bool: def title_upgrade_must_wait_for_turn(main_runtime: Optional[dict]) -> bool: """True when the model title call would hit the SAME self-hosted endpoint as the turn's own request. - A ``custom`` / ``custom:`` / ``lmstudio`` main route (llama.cpp, Ollama, vLLM, LM Studio…) + A self-hosted main route (``_is_self_hosted_provider``: custom, lmstudio, local and their aliases) whose ``auxiliary.title_generation`` is not pinned elsewhere (a pin naming the same custom route — ``custom:``, bare ```` or its display name — is not "elsewhere", #120558) shares one local server between the streaming main request and the