feat: 支持非流式传输功能

This commit is contained in:
chenchun
2025-07-09 19:12:53 +08:00
parent 9af8c4897b
commit 716c344780
9 changed files with 140 additions and 17 deletions

View File

@@ -9,9 +9,9 @@ public class ChatCompletionsInput
public string? Prompt { get; set; }
public string Model { get; set; }
public decimal Temperature { get; set; }
public decimal? Temperature { get; set; }
public int max_tokens { get; set; }
public int? max_tokens { get; set; }
}
public class OpenAiMessage