Skip to content

feat: Implement the AIClient and AITracker classes#1

Merged
jsonbailey merged 20 commits into
mainfrom
jb/sdk-1273/create-ldaiclient-ldaiconfig-tracker
Jun 17, 2025
Merged

feat: Implement the AIClient and AITracker classes#1
jsonbailey merged 20 commits into
mainfrom
jb/sdk-1273/create-ldaiclient-ldaiconfig-tracker

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Jun 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@jsonbailey
jsonbailey requested a review from a team as a code owner June 6, 2025 21:50
Comment thread Gemfile Outdated
Comment thread .gitignore
Comment thread lib/launchdarkly_server_sdk_ai.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_client.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_client.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_client.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_client.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_client.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_config_tracker.rb Outdated
Comment thread lib/ldclient-ai/ld_ai_config_tracker.rb Outdated
devin-ai-integration Bot and others added 3 commits June 10, 2025 21:31
- Add role validation to LDMessage class with VALID_ROLES constant
- Improve nil safety in track_tokens method using safe navigation operator
- Remove TODO comment by implementing proper role validation
- Add type checking for TokenUsage parameter in track_tokens method

Co-Authored-By: jbailey@launchdarkly.com <accounts@sidewaysgravity.com>
@jsonbailey
jsonbailey requested a review from keelerm84 June 12, 2025 13:42
Comment thread lib/ldclient-ai/client.rb Outdated
Comment thread lib/ldclient-ai/client.rb Outdated
Comment thread spec/ld_ai_config_tracker_spec.rb Outdated
@jsonbailey jsonbailey changed the title feat: Implement the LDAIClient and LDAITracker classes feat: Implement the AIClient and AITracker classes Jun 16, 2025
Comment thread lib/server/ai/client.rb Outdated
jsonbailey and others added 2 commits June 17, 2025 08:39
Co-authored-by: Matthew M. Keeler <keelerm84@gmail.com>
@jsonbailey
jsonbailey merged commit 7511fe9 into main Jun 17, 2025
@jsonbailey
jsonbailey deleted the jb/sdk-1273/create-ldaiclient-ldaiconfig-tracker branch June 17, 2025 13:44
This was referenced Jun 17, 2025
jsonbailey added a commit that referenced this pull request Jun 18, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.1.0](0.0.0...0.1.0)
(2025-06-18)


### Features

* Implement the AIClient and AITracker classes
([#1](#1))
([7511fe9](7511fe9))


### Miscellaneous Chores

* release 0.1.0
([#6](#6))
([e2c8890](e2c8890))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Bailey <jbailey@launchdarkly.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.

2 participants