Skip to content

Conversation

@teocns
Copy link
Contributor

@teocns teocns commented Mar 14, 2025

No description provided.

Signed-off-by: Teo <teocns@gmail.com>
@teocns teocns force-pushed the teocns/backward-compat branch from 1a5b523 to 57b9104 Compare March 14, 2025 23:47
@teocns teocns merged commit d29ced6 into main Mar 14, 2025
2 of 9 checks passed
@teocns teocns deleted the teocns/backward-compat branch March 14, 2025 23:47
dot-agi pushed a commit that referenced this pull request Mar 15, 2025
Signed-off-by: Teo <teocns@gmail.com>
teocns added a commit that referenced this pull request Mar 15, 2025
* show session url on init

* fix: pass tags to start_session when auto-starting sessions

Co-Authored-By: Constantin-Doru Teodorescu <teo@agentops.ai>

* backwards compat: track_agent, end_all_sessions (#847)

Signed-off-by: Teo <teocns@gmail.com>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <teocns@gmail.com>

* client: recreate Config on init()

Signed-off-by: Teo <teocns@gmail.com>

* mock_req: /v3/auth/token to return { project_id, token, api_key }

Signed-off-by: Teo <teocns@gmail.com>

* cleanup dirty files

Signed-off-by: Teo <teocns@gmail.com>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <teocns@gmail.com>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <teocns@gmail.com>

* Simplify core shutdown (flush SynchronousSpanProcessor instead of iterating processors)

Signed-off-by: Teo <teocns@gmail.com>

* Improved TracingCore Config

Signed-off-by: Teo <teocns@gmail.com>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <teocns@gmail.com>

* Base for test_session_legacy

Signed-off-by: Teo <teocns@gmail.com>

* uv lock

Signed-off-by: Teo <teocns@gmail.com>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <teocns@gmail.com>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <teocns@gmail.com>

* update `openai` dep and `uv.lock` file

* fix: pass tags to start_session when auto-starting sessions

Co-Authored-By: Constantin-Doru Teodorescu <teo@agentops.ai>

* forgot `{` in `start_session`

* remove `getattr`

* fix for recursion and passing `default_tags`

* client: recreate Config on init()

Signed-off-by: Teo <teocns@gmail.com>

* cleanup dirty files

Signed-off-by: Teo <teocns@gmail.com>

* Simplify core shutdown (flush SynchronousSpanProcessor instead of iterating processors)

Signed-off-by: Teo <teocns@gmail.com>

---------

Signed-off-by: Teo <teocns@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <teo@agentops.ai>
Co-authored-by: teocns <59549574+teocns@users.noreply.github.com>
Co-authored-by: Teo <teocns@gmail.com>
teocns added a commit that referenced this pull request Mar 17, 2025
* 0.4.4

Signed-off-by: Teo <teocns@gmail.com>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <teocns@gmail.com>

* client: recreate Config on init()

Signed-off-by: Teo <teocns@gmail.com>

* mock_req: /v3/auth/token to return { project_id, token, api_key }

Signed-off-by: Teo <teocns@gmail.com>

* cleanup dirty files

Signed-off-by: Teo <teocns@gmail.com>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <teocns@gmail.com>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <teocns@gmail.com>

* Simplify core shutdown (flush SynchronousSpanProcessor instead of iterating processors)

Signed-off-by: Teo <teocns@gmail.com>

* Improved TracingCore Config

Signed-off-by: Teo <teocns@gmail.com>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <teocns@gmail.com>

* Base for test_session_legacy

Signed-off-by: Teo <teocns@gmail.com>

* uv lock

Signed-off-by: Teo <teocns@gmail.com>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <teocns@gmail.com>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <teocns@gmail.com>

* update `openai` dep and `uv.lock` file

* fix: display session url when using `agentops.init` (#856)

* show session url on init

* fix: pass tags to start_session when auto-starting sessions

Co-Authored-By: Constantin-Doru Teodorescu <teo@agentops.ai>

* backwards compat: track_agent, end_all_sessions (#847)

Signed-off-by: Teo <teocns@gmail.com>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <teocns@gmail.com>

* client: recreate Config on init()

Signed-off-by: Teo <teocns@gmail.com>

* mock_req: /v3/auth/token to return { project_id, token, api_key }

Signed-off-by: Teo <teocns@gmail.com>

* cleanup dirty files

Signed-off-by: Teo <teocns@gmail.com>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <teocns@gmail.com>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <teocns@gmail.com>

* Simplify core shutdown (flush SynchronousSpanProcessor instead of iterating processors)

Signed-off-by: Teo <teocns@gmail.com>

* Improved TracingCore Config

Signed-off-by: Teo <teocns@gmail.com>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <teocns@gmail.com>

* Base for test_session_legacy

Signed-off-by: Teo <teocns@gmail.com>

* uv lock

Signed-off-by: Teo <teocns@gmail.com>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <teocns@gmail.com>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <teocns@gmail.com>

* update `openai` dep and `uv.lock` file

* fix: pass tags to start_session when auto-starting sessions

Co-Authored-By: Constantin-Doru Teodorescu <teo@agentops.ai>

* forgot `{` in `start_session`

* remove `getattr`

* fix for recursion and passing `default_tags`

* client: recreate Config on init()

Signed-off-by: Teo <teocns@gmail.com>

* cleanup dirty files

Signed-off-by: Teo <teocns@gmail.com>

* Simplify core shutdown (flush SynchronousSpanProcessor instead of iterating processors)

Signed-off-by: Teo <teocns@gmail.com>

---------

Signed-off-by: Teo <teocns@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <teo@agentops.ai>
Co-authored-by: teocns <59549574+teocns@users.noreply.github.com>
Co-authored-by: Teo <teocns@gmail.com>

* `auto_start_session` must be `False` by default

* Legacy session support on `end_session`. Backwards-compatible `record` event.

* CrewAI compat tests. track_tool decorator for compat.

* Use valid type.

* I don't think Event ever passed type checks.

* Type checking runs clean. Fix import.

* Auto start sessions.

* track_agent noop should be a decorator

* Handle trace lifecycle in legacy with backwards
compatibility for Crew 105 and Crew < 105.

* drop session export delay to one second and expose it as a public configuration parameter.

* Clean up docstrings in legacy

* type checking

* agentops.config: dataclass -slots | compat 3.9

Signed-off-by: Teo <teocns@gmail.com>

* deps: py3.9 backward compat | constraints | resolver

Signed-off-by: Teo <teocns@gmail.com>

---------

Signed-off-by: Teo <teocns@gmail.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <teo@agentops.ai>
Co-authored-by: Travis Dent <tcdent@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant