Getting the following error:
ERROR a.k.a.core.agent.entity.AIAgentNode - Error executing node (name: nodeSendToolResult): Error from client: OpenAILLMClient
Status code: 400
Error body:
{
"error": {
"message": "Item 'rs_0533a28c592458cc006963ba85a2a48196b82273cf39f40c92' of type 'reasoning' was provided without its required following item.",
"type": "invalid_request_error",
"param": "input",
"code": null
}
}
when running OpenAI gpt-5.1-codex-mini model with singleRunStrategy(runMode=SEQUENTIAL) (the default) after the first tool call during "nodeSendToolResult".
Simply switching runMode to SINGLE_RUN_SEQUENTIAL solves the problem, which makes me think the issue is probably in koog rather than on OpenAI side or in my code.
koog version 0.6.0