AgentOps-AI / AgentOps-AI/agentops
[Feature]: Create Error Span Kind
オープン
enhancement
good first issue
- 主要言語
- Python
- スター
- 5.8k
- フォーク
- 619
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 💡 Feature Description and Proposed Solution
Create an easy way to create and log errors as spans. This could be potentially BOTH a decorator and a standalone function. For example:
```
from agentops.sdk.decorators import error
@error
def log_error():
...
error()
```
OR
```
agentops.error(name="...", message="...")
```
### 🤔 Related Problem
_No response_
### 🤝 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 はまだ評価されていません。