Standarlize content block for PlanReActPlanner and BuiltInPlanner
未关闭
core
help wanted
needs review
- 主要语言
- Python
- 星标
- 21.5k
- 派生
- 4k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 31
描述
LangChain 1.0 provides a standard representation for message content that works across providers.
ADK has PlanReActPlanner and BuiltInPlanner, their output is raw text , need further parsing, can we also provide a standard way to do this?
```
[{'type': 'reasoning', 'id': 'rs_abc123', 'reasoning': 'summary 1'},
{'type': 'reasoning', 'id': 'rs_abc123', 'reasoning': 'summary 2'},
{'type': 'text', 'text': '...', 'id': 'msg_abc123'}]
```
https://docs.langchain.com/oss/python/releases/langchain-v1#standard-content-blocks
https://docs.langchain.com/oss/python/langchain/messages#standard-content-blocks
贡献指南
评估
这个 Issue 还没有评估数据。