Adds an optional Name field on providers.Message so per-message sender attribution can be carried through the persistence layer and onto the wire. The field is JSON-tagged `name,omitempty`, so: - the OpenAI Chat Completions wire format will be able to emit the native `name` field that disambiguates participants in multi-user conversations; - session stores that round-trip messages via json.Marshal preserve the field with no extra plumbing; - existing session files load cleanly with Name = "". This is the schema-only change. Adapters and the agent pipeline are updated in subsequent commits. Refs #2702. |
||
|---|---|---|
| .. | ||
| types.go | ||
| types_test.go | ||