open-telemetry / open-telemetry/opentelemetry-python-genai
[agno] Support streaming tool results in execute_tool
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 #555.
When an Agno tool returns an iterator or generator of chunks/events, FunctionCall.execute and FunctionCall.aexecute produce streaming results. The instrumentation should wrap or accumulate streaming results and record the final tool output.
- Semconv mapping:
gen_ai.tool.call.resultonexecute_tool
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 instrumentation around execute_tool and the FunctionCall.execute and FunctionCall.aexecute entry points. Check how iterator or generator chunks/events are handled, then verify that the final tool output is recorded with the gen_ai.tool.call.result semantic convention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100