We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30da109 + aa72a3b commit a8f5346Copy full SHA for a8f5346
plugin/ai_helper/src/deepseek/DeepSeek.php
@@ -1,7 +1,7 @@
1
<?php
2
/* For license terms, see /license.txt */
3
4
-require_once 'Url.php';
+require_once 'DeepSeekUrl.php';
5
6
class DeepSeek
7
{
@@ -26,7 +26,7 @@ public function __construct(string $apiKey)
26
*/
27
public function generateQuestions(array $payload): string
28
29
- $url = Url::completionsUrl();
+ $url = DeepSeekUrl::completionsUrl();
30
$response = $this->sendRequest($url, 'POST', $payload);
31
32
if (empty($response)) {
plugin/ai_helper/src/deepseek/Url.php renamed to plugin/ai_helper/src/deepseek/DeepSeekUrl.php
-class Url
+class DeepSeekUrl
private const BASE_URL = 'https://api.deepseek.com/chat';
0 commit comments