{"repo": "cheshirecache/agent-playground", "files": {"src/main/kotlin/config/AppConfig.kt": {"4678c2d0abd613e57044a1dc45198e22b3eaab83": {"t": 1786068308.0439944, "n": 356, "h": "27a5498d3d8d8a23", "c": "package config\n\nobject AppConfig {\n\n const val BASE_URL = \"https://api.deepseek.com/\"\n\n const val MODEL = \"deepseek-chat\"\n\n val apiKey: String\n get() = System.getenv(\"DEEPSEEK_API_KEY\")\n ?: error(\n \"DEEPSEEK_API_KEY is not set. \" +\n \"Please set it as an environment variable\"\n )\n}"}}, ".github/workflows/ai-support.yml": {"4678c2d0abd613e57044a1dc45198e22b3eaab83": {"t": 1786068433.7344604, "n": 5777, "h": "075a874f50174495", "c": "name: AI Support\n\non:\n issues:\n types:\n - labeled\n issue_comment:\n types:\n - created\n workflow_dispatch:\n inputs:\n issue_number:\n description: \"Issue number\"\n required: true\n type: string\n\npermissions:\n contents: read\n issues: write\n\njobs:\n support:\n runs-on: ubuntu-latest\n\n if: >\n github.event_name == 'workflow_dispatch' ||\n (\n github.event.issue.pull_request == null &&\n contains(github.event.issue.labels.*.name, 'support') &&\n github.actor != 'github-actions[bot]' &&\n (\n (\n github.event_name == 'issues' &&\n github.event.action == 'labeled' &&\n github.event.label.name == 'support'\n ) ||\n (\n github.event_name == 'issue_comment' &&\n !contains(github.event.comment.body, '')\n )\n )\n )\n\n concurrency:\n group: ai-support-${{ github.event.issue.number || inputs.issue_number }}\n cancel-in-progress: true\n\n env:\n GITHUB_TOKEN: ${{ github.token }}\n DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}\n OWNER: ${{ github.repository_owner }}\n REPO: ${{ github.event.repository.name }}\n REF_NAME: ${{ github.event.repository.default_branch }}\n ISSUE_NUMBER: ${{ github.event_name == 'workflow_dispatch' && inputs.issue_number || github.event.issue.number }}\n ASSISTANT_REPOSITORY: alexadler9/assistant-cli\n ASSISTANT_REF: main\n\n steps:\n - name: Checkout assistant-cli\n uses: actions/checkout@v4\n with:\n repository: ${{ env.ASSISTANT_REPOSITORY }}\n ref: ${{ env.ASSISTANT_REF }}\n path: assistant-cli\n token: ${{ secrets.ASSISTANT_CLI_TOKEN || github.token }}\n\n - name: Restore RAG index cache\n uses: actions/cache/restore@v4\n with:\n path: assistant-cli/.assistant/storage\n key: assistant-rag-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.sha }}\n restore-keys: |\n assistant-rag-${{ github.repository_owner }}-${{ github.event.repository.name }}-\n\n - name: Check RAG index\n run: |\n if ! find assistant-cli/.assistant/storage -name rag-index.json | grep -q rag-index.json; then\n echo \"RAG index is missing.\"\n echo \"Run the AI Index workflow first.\"\n exit 1\n fi\n\n - name: Setup Java\n uses: actions/setup-java@v4\n with:\n distribution: temurin\n java-version: \"17\"\n cache: gradle\n cache-dependency-path: assistant-cli/**/*.gradle*\n\n - name: Setup Node\n uses: actions/setup-node@v4\n with:\n node-version: \"20\"\n\n - name: Setup Ollama\n run: |\n curl -fsSL https://ollama.com/install.sh | sh\n nohup ollama serve > /tmp/ollama.log 2>&1 &\n sleep 5\n ollama pull bge-m3\n\n - name: Create assistant config\n working-directory: assistant-cli\n run: |\n cat > assistant.config.json <