ramknin
ramknin
> The docs don't have a clear example. I tried this, but I don't see the reasoning working > > [adk-python/contributing/samples/fields_planner/agent.py](https://github.com/google/adk-python/blob/26f55fb5ab00b0da230bc9cb820969fc4fadc464/contributing/samples/fields_planner/agent.py#L98) > > Line 98 in [26f55fb](/google/adk-python/commit/26f55fb5ab00b0da230bc9cb820969fc4fadc464) > > planner=BuiltInPlanner(...
> **Describe the bug** When using StreamingMode.SSE with an agent that implements thinking, thinking parts and regular text parts get merged into a single text part in the final saved...
> > Ensure you're checking event.is_final_response() before accessing content. For safety: > > ``` > > if event.is_final_response() and hasattr(event, "content") and event.content: > > text = event.content.parts[0].text if event.content.parts...