chore: import upstream snapshot with attribution
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:21:23 +08:00
commit b957a53def
5423 changed files with 863745 additions and 0 deletions
@@ -0,0 +1,17 @@
// Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel.DataAnnotations;
public class ChatOptions
{
public const string SectionName = "Chat";
[Required]
public string SystemMessage { get; set; } = string.Empty;
// Chat response streaming constants
public int StreamingChunkSizeThreshold { get; set; } = 100;
public double Temperature { get; set; } = 0.7;
public int MaxTokens { get; set; } = 500;
public double TopP { get; set; } = 0.9;
}