AgentOps-AI / AgentOps-AI/agentops

Update deprecated @session decorator references to @trace in v2 documentation

Đang mở
#1,169 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
5.8k
Fork
619
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem
The v2 documentation still contains references to the deprecated @session decorator, which should be replaced with @trace.

## Files to Update
- docs/v2/concepts/decorators.mdx
- docs/v2/concepts/spans.mdx
- docs/v2/usage/tracking-agents.mdx

## Changes Needed
- Update decorator table to show @trace instead of @session
- Update all code examples to use @trace
- Update text descriptions to reference trace instead of session
- Ensure migration guidance is clear

## Context
The @session decorator is deprecated but maintained for backward compatibility. New documentation should consistently use @trace as the recommended approach.

## Assignee
Please assign to Dwij when creating

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.