docs: fix broken import in AGENTS.md (message_content_text)
### Description
AGENTS.md (repo root) documents collapsing multimodal message content with a helper:
from crewai.utilities.agent_utils import message_content_text
text = message_content_text(msg) # "" for None; joined text for a parts list
However, message_content_text is not defined in crewai.utilities.agent_utils. It lives in crewai.utilities.message_utils (signature: message_content_text(msg: LLMMessage) -> str). Anyone following AGENTS.md gets an ImportError.
Affected file
AGENTS.md(line 25)
Proposed change
- from crewai.utilities.agent_utils import message_content_text
+ from crewai.utilities.message_utils import message_content_text
No code or test changes.
Additional context
- Prepared with AI assistance.
I'll take this — opening a PR with the fix shortly.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.