Skip to content

Commit

Permalink
Merge branch 'dev-master' of https://github.com/linzhanjun/open-ai in…
Browse files Browse the repository at this point in the history
…to dev-master
  • Loading branch information
linzhanjun committed Dec 27, 2023
2 parents 2fa8b05 + 8ea15f0 commit 032b3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenAi.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ protected function getHeaders(string $OPENAI_API_KEY = '', $type = ''): array
if ($type == 'dalle') {
$aip_key = $config['dalle_api_key'] ?? $OPENAI_API_KEY;
}

return [
$this->contentTypes["application/json"],
"api-key: " . $aip_key,
Expand Down

0 comments on commit 032b3ee

Please sign in to comment.