Skip to content

fix: Update comments for setting default#99

Merged
jsonbailey merged 3 commits intomainfrom
jb/aic-1628/readme-default-value-quickstart
Mar 10, 2026
Merged

fix: Update comments for setting default#99
jsonbailey merged 3 commits intomainfrom
jb/aic-1628/readme-default-value-quickstart

Conversation

@jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Mar 10, 2026

Note

Low Risk
Docs-only updates plus a minimum-version bump for launchdarkly-server-sdk-ai in two provider packages; low risk aside from potential downstream compatibility changes when upgrading the dependency.

Overview
Updates the LangChain and OpenAI provider READMEs to recommend omitting the default config by default and to show an optional AICompletionConfigDefault example for resilience when flags/LaunchDarkly are unavailable.

Bumps both providers’ launchdarkly-server-sdk-ai dependency floor from >=0.12.0 to >=0.16.0 in pyproject.toml.

Written by Cursor Bugbot for commit e2d3a81. This will update automatically on new commits. Configure here.

@jsonbailey jsonbailey requested a review from a team as a code owner March 10, 2026 16:28
Copy link
Member

@keelerm84 keelerm84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should chore: be fix:?

@jsonbailey jsonbailey changed the title chore: Update comments for setting default fix: Update comments for setting default Mar 10, 2026
@jsonbailey jsonbailey merged commit a14761d into main Mar 10, 2026
36 checks passed
@jsonbailey jsonbailey deleted the jb/aic-1628/readme-default-value-quickstart branch March 10, 2026 16:48
@github-actions github-actions bot mentioned this pull request Mar 10, 2026
jsonbailey added a commit that referenced this pull request Mar 16, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>launchdarkly-server-sdk-ai: 0.16.1</summary>

##
[0.16.1](launchdarkly-server-sdk-ai-0.16.0...launchdarkly-server-sdk-ai-0.16.1)
(2026-03-16)


### Bug Fixes

* Improve metric token collection for Judge evaluations when using
LangChain
([f951dac](f951dac))
* Improved raw response when performing Judge evaluations using
LangChain
([f951dac](f951dac))
* Simplify judge structured output for improve reliability for judge
scores for some LLMs
([#105](#105))
([f951dac](f951dac))
</details>

<details><summary>launchdarkly-server-sdk-ai-langchain: 0.3.2</summary>

##
[0.3.2](launchdarkly-server-sdk-ai-langchain-0.3.1...launchdarkly-server-sdk-ai-langchain-0.3.2)
(2026-03-16)


### Bug Fixes

* Improve metric token collection for Judge evaluations when using
LangChain
([f951dac](f951dac))
* Improved raw response when performing Judge evaluations using
LangChain
([f951dac](f951dac))
* Simplify judge structured output for improve reliability for judge
scores for some LLMs
([#105](#105))
([f951dac](f951dac))
* Update comments for setting default
([#99](#99))
([a14761d](a14761d))
</details>

<details><summary>launchdarkly-server-sdk-ai-openai: 0.2.1</summary>

##
[0.2.1](launchdarkly-server-sdk-ai-openai-0.2.0...launchdarkly-server-sdk-ai-openai-0.2.1)
(2026-03-16)


### Bug Fixes

* Update comments for setting default
([#99](#99))
([a14761d](a14761d))
</details>

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

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> This is a Release Please version/changelog update only, touching
manifests and package metadata but no functional runtime code. Risk is
low aside from potential release/versioning inconsistencies if any file
was missed.
> 
> **Overview**
> Publishes a new release by bumping versions for
`launchdarkly-server-sdk-ai` to `0.16.1`,
`launchdarkly-server-sdk-ai-langchain` to `0.3.2`, and
`launchdarkly-server-sdk-ai-openai` to `0.2.1` (manifest,
`pyproject.toml`, and `ldai.__version__`).
> 
> Updates changelogs (and `PROVENANCE.md` version snippet) to reflect
the included bug fixes around Judge evaluation output/metrics and
documentation comments.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
380481b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

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