初始化仓库及v1.0.0提交
This commit is contained in:
11
app/Services/Providers/NewAPIProvider.php
Normal file
11
app/Services/Providers/NewAPIProvider.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Providers;
|
||||
|
||||
class NewAPIProvider
|
||||
{
|
||||
public static function stream(string $model, array $messages, array $options, callable $onChunk): void
|
||||
{
|
||||
OpenAIProvider::stream($model, $messages, $options, $onChunk);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user