kodeagent.kutils.combine_user_messages#

kodeagent.kutils.combine_user_messages(messages: list) list[source]#

Combines consecutive user messages into a single message with a list of content items.

Returns:

A new list of messages with combined user messages.