forked from joomla/openai
update 2023-07-04 06:26:00
This commit is contained in:
parent
578bce0398
commit
ffb790120f
@ -84,7 +84,7 @@ class Utilities implements ServiceProviderInterface
|
|||||||
public function getHttp(Container $container): Http
|
public function getHttp(Container $container): Http
|
||||||
{
|
{
|
||||||
return new Http(
|
return new Http(
|
||||||
Helper::getParams()->get('openai_token')
|
Helper::getParams()->get('openai_token'),
|
||||||
Helper::getParams()->get('openai_org_token')
|
Helper::getParams()->get('openai_org_token')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
public function getHttp(Container $container): Http
|
public function getHttp(Container $container): Http
|
||||||
{
|
{
|
||||||
return new Http(
|
return new Http(
|
||||||
Helper::getParams()->get('openai_token')
|
Helper::getParams()->get('openai_token'),
|
||||||
Helper::getParams()->get('openai_org_token')
|
Helper::getParams()->get('openai_org_token')
|
||||||
);
|
);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user