AgentOps-AI / AgentOps-AI/agentops

[Bug]: Agno AgentOS not working for agent and workflow

オープン
#1,280 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
5.8k
フォーク
619
PR マージ指標
30日以内にマージされた PR はありません

説明

### Contact Details

_No response_

### 📦 Package Version

0.4.21

### 🎞️ Framework Version

Agno 2.4.8

### 🔎 Describe the Bug

Chat with agent in https://os.agno.com
Traceback (most recent call last):
File "/data/agentos/.venv/lib/python3.12/site-packages/agno/os/routers/agents/router.py", line 89, in agent_response_streamer
async for run_response_chunk in run_response:
^^^^^^^^^^^^
TypeError: 'async for' requires an object with __aiter__ method, got coroutine
INFO 127.0.0.1:36766 - "POST /agents/agno-agent/runs HTTP/1.1" 200
/data/agentos/.venv/lib/python3.12/site-packages/starlette/responses.py:253: RuntimeWarning: coroutine 'create_streaming_agent_async_wrapper..wrapper' was never awaited
async for chunk in self.body_iterator:
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

chat with workflow:
ERROR Workflow execution failed: 'async for' requires an object with __aiter__ method, got coroutine
ERROR Background streaming workflow execution failed: 'async for' requires an object with __aiter__ method, got coroutine
/data/agentos/.venv/lib/python3.12/site-packages/agno/workflow/workflow.py:2994: RuntimeWarning: coroutine 'create_streaming_agent_async_wrapper..wrapper' was never awaited
self.save_session(session=workflow_session)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

### 🤝 Contribution

- [ ] Yes, I'd be happy to submit a pull request with these changes.
- [ ] I need some guidance on how to contribute.
- [ ] I'd prefer the AgentOps team to handle this update.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。