Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/baitol_studier.json
T

1 line
7.0 KiB
JSON

{"repo": "baitol/studier", "files": {"backend/config/services.php": {"703306d3d7ecd8d8eda509b583920e839c49f81d": {"t": 1785745765.0103912, "n": 1107, "h": "3025a7ad3a15b447", "c": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Third Party Services\n |--------------------------------------------------------------------------\n |\n | This file is for storing the credentials for third party services such\n | as Mailgun, Postmark, AWS and more. This file provides the de facto\n | location for this type of information, allowing packages to have\n | a conventional file to locate the various service credentials.\n |\n */\n\n 'postmark' => [\n 'key' => env('POSTMARK_API_KEY'),\n ],\n\n 'resend' => [\n 'key' => env('RESEND_API_KEY'),\n ],\n\n 'ses' => [\n 'key' => env('AWS_ACCESS_KEY_ID'),\n 'secret' => env('AWS_SECRET_ACCESS_KEY'),\n 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),\n ],\n\n 'slack' => [\n 'notifications' => [\n 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),\n 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),\n ],\n ],\n 'deepseek' => [\n 'key' => env('DEEPSEEK_API_KEY'),\n ],\n];\n"}, "42be9c94992c70f024daea32dadd468c3b8096ae": {"t": 1785756285.1480682, "n": 1107, "h": "3025a7ad3a15b447", "c": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Third Party Services\n |--------------------------------------------------------------------------\n |\n | This file is for storing the credentials for third party services such\n | as Mailgun, Postmark, AWS and more. This file provides the de facto\n | location for this type of information, allowing packages to have\n | a conventional file to locate the various service credentials.\n |\n */\n\n 'postmark' => [\n 'key' => env('POSTMARK_API_KEY'),\n ],\n\n 'resend' => [\n 'key' => env('RESEND_API_KEY'),\n ],\n\n 'ses' => [\n 'key' => env('AWS_ACCESS_KEY_ID'),\n 'secret' => env('AWS_SECRET_ACCESS_KEY'),\n 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),\n ],\n\n 'slack' => [\n 'notifications' => [\n 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),\n 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),\n ],\n ],\n 'deepseek' => [\n 'key' => env('DEEPSEEK_API_KEY'),\n ],\n];\n"}, "7a12183054b1008fe5ad9871865f18e2af39fd43": {"t": 1785756286.3547673, "n": 1039, "h": "db4fafeac1c3e897", "c": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Third Party Services\n |--------------------------------------------------------------------------\n |\n | This file is for storing the credentials for third party services such\n | as Mailgun, Postmark, AWS and more. This file provides the de facto\n | location for this type of information, allowing packages to have\n | a conventional file to locate the various service credentials.\n |\n */\n\n 'postmark' => [\n 'key' => env('POSTMARK_API_KEY'),\n ],\n\n 'resend' => [\n 'key' => env('RESEND_API_KEY'),\n ],\n\n 'ses' => [\n 'key' => env('AWS_ACCESS_KEY_ID'),\n 'secret' => env('AWS_SECRET_ACCESS_KEY'),\n 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),\n ],\n\n 'slack' => [\n 'notifications' => [\n 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),\n 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),\n ],\n ],\n\n];\n"}}, "backend/app/Services/DeepSeekService.php": {"703306d3d7ecd8d8eda509b583920e839c49f81d": {"t": 1785746146.881566, "n": 1484, "h": "914ac3cbc3d7be5a", "c": "<?php\n\nnamespace App\\Services;\n\nuse Illuminate\\Support\\Facades\\Http;\n\nclass DeepSeekService\n{\n protected string $baseUrl = 'https://api.deepseek.com/v1';\n\n public function chat(string $message): string\n {\n $response = Http::withToken(config('services.deepseek.key'))\n ->post($this->baseUrl . '/chat/completions', [\n 'model' => 'deepseek-chat',\n 'messages' => [\n\n [\n 'role' => 'system',\n 'content' => 'You are an AI engine. You must strictly follow ALL instructions. You are not allowed to improvise.\n RULES:\n 1. Follow the USER PROMPT literally.\n 2. Do NOT add anything extra.\n 3. Do NOT explain your reasoning.\n 4. Do NOT apologize.\n 5. Output MUST match the format exactly.\n 6. If you cannot comply, output: INVALID_REQUEST\n 7. Text length must be less 50 smbols\n '\n ],\n [\n 'role' => 'user',\n 'content' => $message\n ]\n ],\n ]);\n\n if ($response->failed()) {\n throw new \\Exception($response->body());\n }\n\n return $response->json('choices.0.message.content');\n }\n}\n"}, "42be9c94992c70f024daea32dadd468c3b8096ae": {"t": 1785756285.6901836, "n": 1484, "h": "914ac3cbc3d7be5a", "c": "<?php\n\nnamespace App\\Services;\n\nuse Illuminate\\Support\\Facades\\Http;\n\nclass DeepSeekService\n{\n protected string $baseUrl = 'https://api.deepseek.com/v1';\n\n public function chat(string $message): string\n {\n $response = Http::withToken(config('services.deepseek.key'))\n ->post($this->baseUrl . '/chat/completions', [\n 'model' => 'deepseek-chat',\n 'messages' => [\n\n [\n 'role' => 'system',\n 'content' => 'You are an AI engine. You must strictly follow ALL instructions. You are not allowed to improvise.\n RULES:\n 1. Follow the USER PROMPT literally.\n 2. Do NOT add anything extra.\n 3. Do NOT explain your reasoning.\n 4. Do NOT apologize.\n 5. Output MUST match the format exactly.\n 6. If you cannot comply, output: INVALID_REQUEST\n 7. Text length must be less 50 smbols\n '\n ],\n [\n 'role' => 'user',\n 'content' => $message\n ]\n ],\n ]);\n\n if ($response->failed()) {\n throw new \\Exception($response->body());\n }\n\n return $response->json('choices.0.message.content');\n }\n}\n"}}}}