This commit is contained in:
李超 2026-05-10 17:14:57 +08:00
parent 29de95d03c
commit 06cd48986b
1 changed files with 3 additions and 3 deletions

View File

@ -14,8 +14,8 @@ namespace BLL.Common
{ {
public class OpenAIhelper public class OpenAIhelper
{ {
private const string ApiKey = "sk-ee51958b5a4f4136b01ad4d866e1ba94"; private const string ApiKey = "sk-a5014a22a49049d1b2179a6c0d8eec1c";
private const string AIURL = "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"; private const string AIURL = "https://api.deepseek.com/anthropic";
public static string ChatCompletion(string content) public static string ChatCompletion(string content)
{ {
@ -27,7 +27,7 @@ namespace BLL.Common
var requestData = new var requestData = new
{ {
model = "qwen3.6-plus", model = "deepseek-v4-flash",
messages = new[] { messages = new[] {
new { role = "user", content = content } new { role = "user", content = content }
}, },