Skip to content

Commit 6ec3f94

Browse files
committed
internal builder constructor + remove random lines
1 parent d9b343b commit 6ec3f94

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

pkgs/sdk/server-ai/src/Config/LdAiConfig.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@ public class Builder
4242
private readonly List<Message> _prompt;
4343
private readonly Dictionary<string, object> _modelParams;
4444

45-
46-
/// <summary>
47-
/// Constructs a new builder. By default, the config will be disabled, with no prompt
48-
/// messages or model parameters.
49-
/// </summary>
50-
public Builder()
45+
internal Builder()
5146
{
5247
_enabled = false;
5348
_prompt = new List<Message>();

pkgs/sdk/server-ai/src/DataModel/DataModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public class Meta
3636
/// <summary>
3737
/// If the config is enabled.
3838
/// </summary>
39-
4039
[JsonPropertyName("enabled")]
4140
public bool Enabled { get; set; }
4241
}
@@ -76,14 +75,12 @@ public class AiConfig
7675
/// <summary>
7776
/// LaunchDarkly metadata.
7877
/// </summary>
79-
8078
[JsonPropertyName("_ldMeta")]
8179
public Meta Meta { get; set; }
8280

8381
/// <summary>
8482
/// The model params;
8583
/// </summary>
86-
8784
[JsonPropertyName("model")]
8885
public Dictionary<string, object> Model { get; set; }
8986
}

pkgs/sdk/server-ai/src/Interfaces/ILaunchDarklyClient.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ public interface ILaunchDarklyClient
2929
/// </summary>
3030
/// <returns>a logger</returns>
3131
ILogger GetLogger();
32-
3332
}

pkgs/sdk/server-ai/src/Interfaces/ILogger.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ namespace LaunchDarkly.Sdk.Server.Ai.Interfaces;
55
/// </summary>
66
public interface ILogger
77
{
8-
98
/// <summary>
109
/// Log an error.
1110
/// </summary>

0 commit comments

Comments
 (0)