mirror of
https://github.com/usestrix/strix.git
synced 2026-08-18 09:49:17 +02:00
chore: drop explanatory comment
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user