mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 14:53:49 +00:00
Fixed warnings
This commit is contained in:
6 files changed
+14
-9
No files matched your search
@@ -28,13 +28,12 @@ public readonly struct ModelId(string modelId) : IEquatable<ModelId>
|
||||
/// </summary>
|
||||
private const int MAX_STACK_ALLOCATED_MODEL_ID_LENGTH = 256;
|
||||
|
||||
private readonly string originalId = modelId ?? string.Empty;
|
||||
private readonly string normalizedId = Normalize(modelId);
|
||||
|
||||
/// <summary>
|
||||
/// The ID exactly as the provider reported it. This is what a person sees.
|
||||
/// </summary>
|
||||
public string Original => this.originalId ?? string.Empty;
|
||||
public string Original => modelId ?? string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The ID in lowercase, with every separator written as a single hyphen.
|
||||
|
||||
Reference in new issue
Block a user