Skip to content

feat!: Update ChatMessage to use to_dict and from_dict in pydantic serialization#12021

Draft
sjrl wants to merge 2 commits into
mainfrom
chat-message-deser
Draft

feat!: Update ChatMessage to use to_dict and from_dict in pydantic serialization#12021
sjrl wants to merge 2 commits into
mainfrom
chat-message-deser

Conversation

@sjrl

@sjrl sjrl commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Related Issues

  • fixes #issue-number

Proposed Changes:

How did you test it?

New tests

Notes for the reviewer

cc @tstadel

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview, Comment Jul 16, 2026 8:21am

Request Review

@github-actions github-actions Bot added topic:tests type:documentation Improvements on the docs labels Jul 15, 2026
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  haystack/dataclasses
  chat_message.py
Project Total  

This report was generated by python-coverage-comment-action

@sjrl sjrl self-assigned this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic:tests type:documentation Improvements on the docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant