Skip to content

Conversation

@teocns
Copy link
Contributor

@teocns teocns commented Jan 12, 2025

Nothing to see here, yet

teocns added 30 commits January 9, 2025 15:04
Split session logic into dedicated components for better separation of
concerns
and maintainability:

- Move session code to dedicated session/ module
- Split Session class into:
  - Session: Data container with minimal public API
  - SessionManager: Handles lifecycle and state management
  - SessionApi: Handles API communication
  - SessionTelemetry: Manages event recording and OTEL integration

Key fixes:
- Proper UUID and timestamp serialization in events
- Consistent API key header handling
- Correct token cost formatting in analytics
- Proper session ID inheritance
- Tags conversion and validation
- Event counts type handling

This refactor improves code organization while maintaining backward
compatibility
through the session/__init__.py module.

Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
…ration tests only when explicitly specified.

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

reauthorize

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

Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
Signed-off-by: Teo <teocns@gmail.com>
teocns and others added 7 commits January 15, 2025 18:02
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had any activity in the last 14 days.

If no updates are made within 7 days, this PR will be automatically closed.

@github-actions github-actions bot added the stale label Jan 31, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2025

This pull request has been automatically closed because it has been stale for 7 days with no activity.

Feel free to reopen this PR if you'd like to continue working on it.

@github-actions github-actions bot closed this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants