chore: drop explanatory comment

This commit is contained in:
Ahmed Allam 2026-08-09 12:36:57 +00:00 • committed by Ahmed Allam
parent 649a2e2140
commit ae07af6159

View file

@ -203,8 +203,6 @@ def make_model_settings(
extra_headers: dict[str, str] | None = None,
has_tools: bool = True,
) -> ModelSettings:
# Azure OpenAI rejects any request that carries ``parallel_tool_calls``
# without ``tools``, so tool-less requests must omit it entirely.
model_settings = ModelSettings(
parallel_tool_calls=False if has_tools else None,
retry=DEFAULT_MODEL_RETRY,