google / google/adk-python

Standarlize content block for PlanReActPlanner and BuiltInPlanner

Open
#3,378 7 comments 0 reactions 2 assignees Claimed by @klateefa View on GitHub
core help wanted needs review
Dominant language
Python
Stars
21.5k
Forks
4k
Avg merge
1d 14h
Merged PRs (30d)
37

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.