Add (ai gen)

This commit is contained in:
2023-10-01 00:35:27 +08:00
parent 645d0f1d02
commit f02081e30c
79 changed files with 4816 additions and 1041 deletions

9
config/platform/ai.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
return [
'openai' => [
'api_key' => env('OPENAI_API_KEY'),
],
];

View File

@@ -6,4 +6,10 @@
'dev_default_ip' => env('DEV_DEFAULT_IP', '127.0.0.1'),
'fallback_country_slug' => 'my',
'node_binary' => env('NODE_BINARY'),
'npm_binary' => env('NPM_BINARY'),
'my_crawler_proxy' => env('MY_CRAWLER_PROXY', 'my.smartproxy.com:30000'),
];

17
config/platform/proxy.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
return [
'user_agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246',
'smartproxy' => [
'rotating_global' => [
'user' => 'sp5bbkzj7e',
'password' => 'yTtk2cc5kg23kIkSSr',
'server' => 'gate.smartproxy.com:7000',
'reproxy' => '157.230.194.206:7000',
'reproxy_enable' => false,
'cost_per_gb' => 7.00,
],
],
];