[agno] Support streaming responses on invoke_agent and invoke_workflow
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- observability
Research direction
Start with the streaming paths for Agent.run/arun, Team.run/arun, and Workflow.run/arun, then trace how spans are created and closed when stream=True. Use stream wrappers so spans remain open through iterator consumption and verify that output messages and telemetry are finalized after iteration completes.
Written by the indexing model from the issue text.
Description
[!NOTE]
This issue was generated with AI assistance and requires investigation and confirmation prior to being worked on.
Part of #555.
When streaming is enabled (stream=True) on Agent.run/arun, Team.run/arun, or Workflow.run/arun, the methods return an iterator or async iterator. Spans currently close immediately upon returning the iterator before chunks are consumed, missing output content and telemetry finalization. Use stream wrappers to keep spans open until iteration finishes and capture accumulated output messages.
- Semconv mapping:
gen_ai.output.messagesoninvoke_agentandinvoke_workflow
- Dominant language
- Python
- Stars
- 47
- Forks
- 102
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 110
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from open-telemetry/opentelemetry-python-genai
-
`opentelemetry-instrumentation-openai-v2` instrumentor entry point fails to loadPossibly taken @lmolkova claimed this 3 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-telemetry/opentelemetry-python-genai#997 · 1 comment ·
Maintainers usually reply within 1 day
-
Support disabling OpenAI Agents native trace export through an environment variablePossibly taken @123liuziming claimed this 12 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
open-telemetry/opentelemetry-python-genai#922 · 3 comments ·
Maintainers usually reply within 1 day
-
fix(smolagents): accept tuple inputs for messages, content, and task imagesPossibly taken @SAMurai-16 claimed this 15 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#905 ·
Maintainers usually reply within 1 day
-
Review AGENTS.md size and duplication against the nested filesPossibly taken A pull request linked to this issue is open or already merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-telemetry/opentelemetry-python-genai#857 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
[genai-bedrock] invoke_model body passed as a file-like object: no request parameters or input messages are recordedPossibly taken @SyedTashfin claimed this 22 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#848 ·
Maintainers usually reply within 1 day
All issues in open-telemetry/opentelemetry-python-genai
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
MangasMango/bound-to-rot#41 · 1 comment ·
-
breaking change
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
check-skill-pages: show fixture build errors when a build failsPossibly taken @ShahadatTest claimed this today. Opengood first issue P2
Difficulty 1/5 Under an hour Newbie friendliness 85/100
coco-research/coco#439 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
IgniteRobotics/flashpoint#45 ·
Maintainers usually reply within 1 day