Skip to content

Conversation

@teocns
Copy link
Contributor

@teocns teocns commented Mar 14, 2025

Fixes #827
Fixes #787
Fixes #783


Restores start_session from legacy SDK

import openai

import agentops

agentops.start_session()


response = openai.chat.completions.create(
    model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Write a one-line joke"}]
)
image

Implements correct decorator nesting and traces context.

uv run examples/sdk/basic.py
image

teocns added 30 commits March 13, 2025 22:55
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
@teocns teocns merged commit e47b894 into main Mar 14, 2025
2 of 9 checks passed
@teocns teocns deleted the dev branch March 14, 2025 04:05
@teocns teocns restored the dev branch March 14, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants