Skip to content

Conversation

@teocns
Copy link
Contributor

@teocns teocns commented Mar 14, 2025

No description provided.

@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
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 <[email protected]>

* backwards compat: track_agent, end_all_sessions (#847)

Signed-off-by: Teo <[email protected]>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <[email protected]>

* client: recreate Config on init()

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* cleanup dirty files

Signed-off-by: Teo <[email protected]>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <[email protected]>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* Improved TracingCore Config

Signed-off-by: Teo <[email protected]>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <[email protected]>

* Base for test_session_legacy

Signed-off-by: Teo <[email protected]>

* uv lock

Signed-off-by: Teo <[email protected]>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <[email protected]>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <[email protected]>

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

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

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* forgot `{` in `start_session`

* remove `getattr`

* fix for recursion and passing `default_tags`

* client: recreate Config on init()

Signed-off-by: Teo <[email protected]>

* cleanup dirty files

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

---------

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

Signed-off-by: Teo <[email protected]>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <[email protected]>

* client: recreate Config on init()

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* cleanup dirty files

Signed-off-by: Teo <[email protected]>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <[email protected]>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* Improved TracingCore Config

Signed-off-by: Teo <[email protected]>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <[email protected]>

* Base for test_session_legacy

Signed-off-by: Teo <[email protected]>

* uv lock

Signed-off-by: Teo <[email protected]>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <[email protected]>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <[email protected]>

* 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 <[email protected]>

* backwards compat: track_agent, end_all_sessions (#847)

Signed-off-by: Teo <[email protected]>

* Client.init() | auto_start_session | forward tags

Signed-off-by: Teo <[email protected]>

* client: recreate Config on init()

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* cleanup dirty files

Signed-off-by: Teo <[email protected]>

* Isolate telemetry setup (`setup_telemetry`)

Signed-off-by: Teo <[email protected]>

* core shutdown: remove redundant initialized check

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

* Improved TracingCore Config

Signed-off-by: Teo <[email protected]>

* tests: couple instrumentation tester with TracingCore's lifecycle

Signed-off-by: Teo <[email protected]>

* Base for test_session_legacy

Signed-off-by: Teo <[email protected]>

* uv lock

Signed-off-by: Teo <[email protected]>

* tests/benchmark/benchmark_init.py

Signed-off-by: Teo <[email protected]>

* Remove deprecated SDK tests - favor test_decorators

Signed-off-by: Teo <[email protected]>

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

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

Co-Authored-By: Constantin-Doru Teodorescu <[email protected]>

* forgot `{` in `start_session`

* remove `getattr`

* fix for recursion and passing `default_tags`

* client: recreate Config on init()

Signed-off-by: Teo <[email protected]>

* cleanup dirty files

Signed-off-by: Teo <[email protected]>

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

Signed-off-by: Teo <[email protected]>

---------

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

* `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 <[email protected]>

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

Signed-off-by: Teo <[email protected]>

---------

Signed-off-by: Teo <[email protected]>
Co-authored-by: Pratyush Shukla <[email protected]>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Constantin-Doru Teodorescu <[email protected]>
Co-authored-by: Travis Dent <[email protected]>
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.

2 participants