Skip to content

Commit 69416f0

Browse files
ctawiahcursoragent
andcommitted
refactor: consolidate data-model types into LDAIConfigTypes (AIC-2662)
Group the shared AI Config shapes (Mode, Message, Model, Provider, Tool, JudgeConfiguration) as nested types under a single non-instantiable LDAIConfigTypes container instead of separate top-level classes. This reduces the file count and frees up generic names like Message and Model within the datamodel package, matching the organization used by the .NET SDK (LdAiConfigTypes). Per Matt's review on #171. Internal references (AIConfigParser, AIConfigFlagValue) and tests are updated to the nested names; behavior is unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent adb47c2 commit 69416f0

10 files changed

Lines changed: 762 additions & 764 deletions

File tree

lib/sdk/server-ai/src/main/java/com/launchdarkly/sdk/server/ai/datamodel/AIConfigMode.java

Lines changed: 0 additions & 57 deletions
This file was deleted.

lib/sdk/server-ai/src/main/java/com/launchdarkly/sdk/server/ai/datamodel/JudgeConfiguration.java

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)