fix(llm): use validated messages variable in non-streaming handlers

This commit is contained in:
Greyson LaLonde
2026-04-30 00:56:56 +08:00
committed by GitHub
parent e2deac5575
commit 2a40316521

View File

@@ -1160,7 +1160,7 @@ class LLM(BaseLLM):
call_type=LLMCallType.LLM_CALL,
from_task=from_task,
from_agent=from_agent,
messages=params["messages"],
messages=messages,
usage=None,
)
return structured_response
@@ -1316,7 +1316,7 @@ class LLM(BaseLLM):
call_type=LLMCallType.LLM_CALL,
from_task=from_task,
from_agent=from_agent,
messages=params["messages"],
messages=messages,
usage=None,
)
return structured_response