{"repo": "aiaccess/ai-access", "files": {"src/Provider/DeepSeek/Client.php": {"4a75254fbea95893959e89728b6e8d0d24774651": {"t": 1785746140.6821141, "n": 1731, "h": "11bbeda1ae5440de", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}, "03db896ad04b93210c609963cc69b04f28566fdb": {"t": 1785760121.6273313, "n": 1731, "h": "11bbeda1ae5440de", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}, "b408b3320ea03fd5ba9162e0b49572a7f5a3f02a": {"t": 1785760123.1068442, "n": 1713, "h": "6d3f6e1710c5a841", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}, "16eb53fb70a83d2a58cb1bf99bcfcf390bf6ceef": {"t": 1785760124.4568317, "n": 1714, "h": "30a7e6a6e0b87c4c", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}, "dcb156156657d5349e6b24b2d89e01ce4424a0bc": {"t": 1785760126.0244534, "n": 1684, "h": "8644b7a09b22d99a", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}, "922daa010051cee92b6850132f271f7982e04c59": {"t": 1785760127.5032587, "n": 1560, "h": "51ad68b96b110b3b", "c": "baseUrl = rtrim($customBaseUrl, '/') . '/';\n\t\t}\n\t\treturn $this;\n\t}\n\n\n\t/**\n\t * @param mixed[] $payload\n\t * @return mixed[]\n\t * @throws AIAccess\\ServiceException\n\t * @internal\n\t */\n\tpublic function callApi(string $endpoint, array $payload): array\n\t{\n\t\t$headers = [\n\t\t\t'Authorization' => 'Bearer ' . $this->apiKey,\n\t\t];\n\n\t\t$response = $this->httpClient->fetch($this->baseUrl . $endpoint, $payload, $headers);\n\t\t$data = $response->getData();\n\n\t\tif ($response->getStatusCode() >= 400) {\n\t\t\t$errorMessage = $data['error']['message'] ?? \"DeepSeek API error (HTTP {$response->getStatusCode()})\";\n\t\t\tthrow new AIAccess\\ApiException($errorMessage, $response->getStatusCode());\n\t\t}\n\n\t\treturn is_array($data)\n\t\t\t? $data\n\t\t\t: throw new AIAccess\\ApiException('Invalid JSON response from DeepSeek API');\n\t}\n}\n"}}}}