Skip to content

[Chore/Refactor] Tighten MessageAgentThought type annotations #27748

@laipz8200

Description

@laipz8200

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for refactoring, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • "Please do not modify this template :) and fill in all the required fields."

Description

The MessageAgentThought SQLAlchemy model still relies on implicit column typing and lacks Mapped[...] annotations for several text and numeric fields. This gap generates mypy warnings under the SQLAlchemy plugin and leaves the message agent models inconsistent.

Motivation

Aligning this model with the rest of the typed ORM entities will unblock stricter static analysis for agent thought records and keep the message domain types consistent as we raise API type coverage.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions