View Source Shifts.Message (Shifts v0.0.1)

TODO

Summary

Types

@type role() :: :user | :assistant
@type t() :: %Shifts.Message{
  content: String.t(),
  records: [Shifts.Tool.tool_record()],
  role: role()
}

Functions

@spec new(keyword()) :: t()

TODO

Link to this function

put_record(msg, tool_record)

View Source
@spec put_record(t(), Shifts.Tool.tool_record()) :: t()

TODO