Skip to content

why we get this content "{"role": "model", "parts": []}" in events table #3034

Description

@caichuanwang

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
sometimes, we got this json data in filed 'content' in events table. Is this a error or result?

To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
It happens sporadically; I can't reproduce it.

Expected behavior
It is sporadic; once it occurs, the entire agent stops running.
The parts is empty list, and I do not know how to deal with it ? It means the running agent is finished or error?

Screenshots

Image

Desktop (please complete the following information):

  • OS: linux
  • Python version(python -V): 3.12
  • ADK version(pip show google-adk):1.14.0

Model Information:

  • Are you using LiteLLM: Yes
  • Which model is being used: gemini-2.5-flash

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tracing[Component] This issue is related to OpenTelemetry tracing

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions