AgentOps-AI / AgentOps-AI/agentops

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

Aperta
#1,169 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
5.8k
Fork
619
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.