AgentOps-AI / AgentOps-AI/agentops

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

未关闭
#1,169 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
5.8k
派生
619
PR 合并指标
30 天内没有已合并 PR

描述

## 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。