1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"repo": "almensu/yanghoo-ai-v0.1.2", "files": {"workers/topic-extractor/run.sh": {"84411909b438c7329049491b147300f290e750a3": {"t": 1785745965.321007, "n": 631, "h": "eff9de1ae54d9d42", "c": "#!/bin/bash\n\n# Check if content path is provided\nif [ -z \"$1\" ]; then\n echo \"Usage: $0 <content-path>\"\n echo \"Example: $0 ../../storage/content-studio/12345678-90ab-cdef-1234-567890abcdef\"\n exit 1\nfi\n\nCONTENT_PATH=\"$1\"\n\n# Check if DEEPSEEK_API_KEY is set\nif [ -z \"$DEEPSEEK_API_KEY\" ]; then\n if [ -f \"../../.deepseek_api_key\" ]; then\n export DEEPSEEK_API_KEY=$(cat ../../.deepseek_api_key)\n else\n echo \"Error: DEEPSEEK_API_KEY environment variable not set\"\n echo \"Either set it manually or create a .deepseek_api_key file in the project root\"\n exit 1\n fi\nfi\n\n# Execute the worker\nts-node index.ts \"$CONTENT_PATH\" "}, "0d857889fc273828343585708c67ebb76aa02f94": {"t": 1785758341.9157228, "n": 631, "h": "eff9de1ae54d9d42", "c": "#!/bin/bash\n\n# Check if content path is provided\nif [ -z \"$1\" ]; then\n echo \"Usage: $0 <content-path>\"\n echo \"Example: $0 ../../storage/content-studio/12345678-90ab-cdef-1234-567890abcdef\"\n exit 1\nfi\n\nCONTENT_PATH=\"$1\"\n\n# Check if DEEPSEEK_API_KEY is set\nif [ -z \"$DEEPSEEK_API_KEY\" ]; then\n if [ -f \"../../.deepseek_api_key\" ]; then\n export DEEPSEEK_API_KEY=$(cat ../../.deepseek_api_key)\n else\n echo \"Error: DEEPSEEK_API_KEY environment variable not set\"\n echo \"Either set it manually or create a .deepseek_api_key file in the project root\"\n exit 1\n fi\nfi\n\n# Execute the worker\nts-node index.ts \"$CONTENT_PATH\" "}}}} |