AgentOps-AI / AgentOps-AI/agentops

LLM call Latency increased due to agentops

未關閉
#383 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
5.8k
分支
619
PR 合併指標
30 天內沒有已合併 PR

描述

## 🐛 Bug Report

**🔎 Describe the Bug**
Give a clear and concise description of the bug.
I have a fastapi uvicorn server which serves multiple concurrent requests. In each of the call, I am using LLM call. To monitor the same, I am creaing new agentops **session**, and then **patch** then initiate_chat method of the autogen's first most call. But using the same, LLM call latency have been increased by 5x.

**🔄 Reproduction Steps**
* Init agentops before any LLM calls (on startup)
* create a session on even API call to server (which has internal autogen agents integrated)
* use created session.patch method on initiate_chat method of autogen
* end the session before serving API response to client.

**🙁 Expected Behavior**
Describe what you expected to happen.
* Latency should be minimised

**🔍 Additional Context**
Provide any other context about the problem here.
Python: 3.11
agentops: 0.3.6
pyautogen: 0.2.32

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。