-
Notifications
You must be signed in to change notification settings - Fork 509
backwards compat: track_agent, end_all_sessions #847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Teo <[email protected]>
1a5b523 to
57b9104
Compare
dot-agi
pushed a commit
that referenced
this pull request
Mar 15, 2025
Signed-off-by: Teo <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.