kodeagent.kutils.make_user_message#

kodeagent.kutils.make_user_message(text_content: str, files: list[str] | None = None) list[dict[str, Any]][source]#

Create a single user message to be sent to LiteLLM.

Parameters:
  • text_content – The text content of the message.

  • files – An optional list of file paths or URLs, which can include images or other file types.

Returns:

A list of dict items representing the messages.