[openai] Fix missing tool usage check (system message) (#24768)

Signed-off-by: kyt <eluban4532@gmail.com>
This commit is contained in:
kyt
2025-10-03 19:55:44 +09:00
committed by GitHub
parent 48f309029a
commit 2ed3f20dba
2 changed files with 19 additions and 1 deletions

View File

@@ -1575,7 +1575,9 @@ class OpenAIServingChat(OpenAIServing):
sys_msg = get_system_message(
reasoning_effort=request.reasoning_effort,
browser_description=None,
python_description=None)
python_description=None,
with_custom_tools=request.tools is not None
)
messages.append(sys_msg)
# Add developer message.