launchdarkly / dotnet-core

LaunchDarkly monorepo for .NET packages
Other
1 stars 0 forks source link

refactor: implement AI Client #36

Closed cwaldren-ld closed 2 weeks ago

cwaldren-ld commented 3 weeks ago

This implements the guts of the AI client, including fetching Model configuration, interpolation, and tests.

cwaldren-ld commented 2 weeks ago

Updated to pass defaultValue.ToLdValue() directly into the underlying SDK. This recursively converts the existing LdAiConfig into an LdValue.

Note: if there are cycles in the Model dict, then bad things would happen (re: Ryan's comment.)