Files

1 line
934 B
JSON

{"repo": "alex1919810/lexington", "files": {"LexingtonCore/Service/DeepSeekService.cs": {"b464fc3f950ff490c7f442359c355e7e456e316a": {"t": 1785746211.8453996, "n": 697, "h": "f277505fe3582d04", "c": "using LexingtonCore.Tools;\nusing LexingtonCore.Inteface;\nnamespace LexingtonCore.Service\n{\n public class DeepSeekService: Singleton<DeepSeekService>\n {\n public void requestDeepSeek(in string key, string requestMessage, ref string response)\n {\n const string apiUrl = \"https://api.deepseek.com/v1/chat/completions\";\n\n var headers = new Dictionary<string, string>\n {\n [\"Authorization\"] = $\"Bearer {key}\",\n [\"Content-Type\"] = \"application/json\",\n [\"X-Request-ID\"] = Guid.NewGuid().ToString()\n };\n response = HttpRequest.SendPost(apiUrl, requestMessage, headers);\n }\n }\n}\n"}}}}