Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🤗 ci: Cache and Authenticate HF Model Downloads in GitNexus Index (#13653)
Danny Avilad91cec2101b3
diff --git a/.github/workflows/gitnexus-index.yml b/.github/workflows/gitnexus-index.ymlindex 26b0a06098..fb54888082 100644--- a/.github/workflows/gitnexus-index.yml+++ b/.github/workflows/gitnexus-index.yml@@ -180,12 +180,29 @@ jobs:fetch-depth: 1persist-credentials: false+ # HuggingFace throttles anonymous model downloads from shared GHA+ # runner IPs (429s or stalled transfers). Cache the embedding model+ # across runs so warm runs never touch HF at all.+ - name: Cache HuggingFace embedding model+ if: steps.flags.outputs.enable_embeddings == 'true'+ uses: actions/cache@v4+ with:+ path: ${{ runner.temp }}/hf-cache+ key: hf-model-snowflake-arctic-embed-xs-v1+- name: Run GitNexus Analyzeworking-directory: ${{ runner.temp }}env:ENABLE_EMBEDDINGS: ${{ steps.flags.outputs.enable_embeddings }}FORCE: ${{ inputs.force }}GITNEXUS_BIN: ${{ runner.temp }}/gitnexus-cli/node_modules/.bin/gitnexus+ # Fail soft in ~2 min on stalled downloads instead of eating the+ # 25-min job budget; HF_TOKEN lifts the anonymous rate limit on+ # cold-cache runs (empty when the secret is unset — safe no-op).+ HF_DOWNLOAD_TIMEOUT_MS: '60000'+ HF_HOME: ${{ runner.temp }}/hf-cache+ HF_MAX_ATTEMPTS: '2'+ HF_TOKEN: ${{ secrets.HF_TOKEN }}NPM_CONFIG_AUDIT: falseNPM_CONFIG_CACHE: ${{ runner.temp }}/gitnexus-npm-cacheNPM_CONFIG_FUND: false