open-telemetry / open-telemetry/opentelemetry-python-genai
[google-genai] Capture intermediate tool calls from automatic function calling history
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39
- Forks
- 63
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 175
Description
[!NOTE]
This issue was generated with AI assistance and requires investigation and confirmation prior to being worked on.
Part of #560.
When automatic function calling is enabled in generate_content, capture intermediate tool calls and responses recorded in response.automatic_function_calling_history.
- Attributes:
gen_ai.output.messages
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the generate_content instrumentation and how response.automatic_function_calling_history is currently handled. Confirm the intermediate tool calls and responses that need to be captured, then verify that they are emitted through the gen_ai.output.messages attribute with coverage for automatic function calling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100