-
Notifications
You must be signed in to change notification settings - Fork 12
chore: bump ubuntu version in docs.yml workflow #1014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
452103f
9be7dba
fe13450
e71b49e
6733dc6
050ddc3
77e47b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| name: CI | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
|
|
||
| on: | ||
| push: | ||
|
|
@@ -18,7 +22,8 @@ jobs: | |
| go-version: ['1.21', '1.22'] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Refresh models catalog | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| name: Refresh models catalog | ||
| run: | | ||
|
Comment on lines
+25
to
27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 Architect Review — HIGH Multiple workflows in this PR define "combined steps" that include both Suggestion: Normalize all seven affected locations so each step has exactly one Fix in Cursor | Fix in VSCode Claude (Use Cmd/Ctrl + Click for best experience) Prompt for AI Agent 🤖This is an **Architect / Logical Review** comment left during a code review. These reviews are first-class, important findings — not optional suggestions. Do NOT dismiss this as a 'big architectural change' just because the title says architect review; most of these can be resolved with a small, localized fix once the intent is understood.
**Path:** .github/workflows/ci.yml
**Line:** 25:27
**Comment:**
*HIGH: Multiple workflows in this PR define "combined steps" that include both `uses` and `run`, or multiple `uses` keys, in a single step mapping (e.g. CI test checkout/run, docs checkout/Node setup, CodeQL checkout/init, SAST license checkout/reuse, quality-gate/policy-gate checkout/run), which GitHub Actions does not support and results in earlier actions (typically `actions/checkout` or `actions/configure-pages`) being ignored or steps failing validation so intended gates do not run correctly.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
If a suggested approach is provided above, use it as the authoritative instruction. If no explicit code suggestion is given, you MUST still draft and apply your own minimal, localized fix — do not punt back with 'no suggestion provided, review manually'. Keep the change as small as possible: add a guard clause, gate on a loading state, reorder an await, wrap in a conditional, etc. Do not refactor surrounding code or expand scope beyond the finding.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix |
||
| git fetch --depth 1 https://github.com/router-for-me/models.git main | ||
| mkdir -p pkg/llmproxy/registry/models | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,7 +19,8 @@ jobs: | |||||||||||||||||||||||||||||
| language: [go] | ||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||
| - name: Checkout | ||||||||||||||||||||||||||||||
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Initialize CodeQL | ||||||||||||||||||||||||||||||
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||||||||||||||||||||||||||||||
| name: Initialize CodeQL | ||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CodeQL init merged with checkoutHigh Severity The CodeQL job combines Reviewed by Cursor Bugbot for commit 050ddc3. Configure here. |
||||||||||||||||||||||||||||||
| uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4with: | ||||||||||||||||||||||||||||||
| languages: ${{ matrix.language }} | ||||||||||||||||||||||||||||||
| config-file: .github/codeql/codeql-config.yml | ||||||||||||||||||||||||||||||
|
Comment on lines
21
to
26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical: Malformed YAML prevents CodeQL security scanning. The "Checkout" step contains the same structural errors as in docs.yml:
These errors prevent the workflow from parsing, which means CodeQL security scanning will not run, creating a security blind spot. 🔧 Proposed fix for YAML structure - name: Checkout
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Initialize CodeQL
- uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4with:
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4
+ with:
languages: ${{ matrix.language }}
config-file: .github/codeql/codeql-config.yml📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 23-23: duplication of key "name" in mapping (key-duplicates) [error] 24-24: duplication of key "uses" in mapping (key-duplicates) [error] 25-25: syntax error: expected , but found '' (syntax) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -19,7 +19,8 @@ jobs: | |||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||
| - name: Checkout | ||||||||||||||||||||||||
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Setup Node | ||||||||||||||||||||||||
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||||||||||||||||||||||||
| name: Setup Node | ||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Steps merged into one due to missing list indicatorsHigh Severity The commit splits step names that were previously embedded in YAML comments (e.g., Additional Locations (2)Reviewed by Cursor Bugbot for commit 6733dc6. Configure here. |
||||||||||||||||||||||||
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4with: | ||||||||||||||||||||||||
|
Comment on lines
+22
to
24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Architect Review — CRITICAL The first docs build step defines both checkout and Node setup in a single step with duplicate Suggestion: Split this into two separate sequential steps (one Fix in Cursor | Fix in VSCode Claude (Use Cmd/Ctrl + Click for best experience) Prompt for AI Agent 🤖This is an **Architect / Logical Review** comment left during a code review. These reviews are first-class, important findings — not optional suggestions. Do NOT dismiss this as a 'big architectural change' just because the title says architect review; most of these can be resolved with a small, localized fix once the intent is understood.
**Path:** .github/workflows/docs.yml
**Line:** 22:24
**Comment:**
*CRITICAL: The first docs build step defines both checkout and Node setup in a single step with duplicate `uses` keys, so the `actions/checkout` invocation is overridden and the repository is never actually checked out before `bun`/`npm` commands run, causing the docs build to run against an empty workspace.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
If a suggested approach is provided above, use it as the authoritative instruction. If no explicit code suggestion is given, you MUST still draft and apply your own minimal, localized fix — do not punt back with 'no suggestion provided, review manually'. Keep the change as small as possible: add a guard clause, gate on a loading state, reorder an await, wrap in a conditional, etc. Do not refactor surrounding code or expand scope beyond the finding.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix |
||||||||||||||||||||||||
| node-version: "20" | ||||||||||||||||||||||||
| cache: "npm" | ||||||||||||||||||||||||
|
|
@@ -40,7 +41,7 @@ jobs: | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| - name: Install dependencies | ||||||||||||||||||||||||
| working-directory: docs | ||||||||||||||||||||||||
| run: npm install --frozen-lockfile | ||||||||||||||||||||||||
| run: npm ci --frozen-lockfile | ||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Invalid flag on npm ciMedium Severity The docs install step runs Reviewed by Cursor Bugbot for commit 050ddc3. Configure here.
Comment on lines
42
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove redundant The ♻️ Proposed fix - name: Install dependencies
working-directory: docs
- run: npm ci --frozen-lockfile
+ run: npm ci📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| - name: Build docs | ||||||||||||||||||||||||
| working-directory: docs | ||||||||||||||||||||||||
|
|
@@ -71,6 +72,7 @@ jobs: | |||||||||||||||||||||||
| url: ${{ steps.deployment.outputs.page_url }} | ||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||
| - name: Configure Pages | ||||||||||||||||||||||||
| uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5- name: Deploy | ||||||||||||||||||||||||
| uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 | ||||||||||||||||||||||||
| name: Deploy | ||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. YAML indentation error breaks entire docs workflowHigh Severity The Reviewed by Cursor Bugbot for commit 6733dc6. Configure here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Deploy step YAML brokenHigh Severity The Pages deploy job folds Reviewed by Cursor Bugbot for commit 050ddc3. Configure here. |
||||||||||||||||||||||||
| id: deployment | ||||||||||||||||||||||||
|
Comment on lines
+75
to
77
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Architect Review — CRITICAL The Pages deploy job merges Suggestion: Restore two explicit steps in order—a Fix in Cursor | Fix in VSCode Claude (Use Cmd/Ctrl + Click for best experience) Prompt for AI Agent 🤖This is an **Architect / Logical Review** comment left during a code review. These reviews are first-class, important findings — not optional suggestions. Do NOT dismiss this as a 'big architectural change' just because the title says architect review; most of these can be resolved with a small, localized fix once the intent is understood.
**Path:** .github/workflows/docs.yml
**Line:** 75:77
**Comment:**
*CRITICAL: The Pages deploy job merges `actions/configure-pages` and `actions/deploy-pages` into a single step with duplicate `uses` keys, so `configure-pages` is never invoked and the job calls only `deploy-pages`, which can break the required GitHub Pages deployment contract on `main`.
Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
If a suggested approach is provided above, use it as the authoritative instruction. If no explicit code suggestion is given, you MUST still draft and apply your own minimal, localized fix — do not punt back with 'no suggestion provided, review manually'. Keep the change as small as possible: add a guard clause, gate on a loading state, reorder an await, wrap in a conditional, etc. Do not refactor surrounding code or expand scope beyond the finding.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix |
||||||||||||||||||||||||
| uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 | ||||||||||||||||||||||||
|
Comment on lines
74
to
78
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical: Malformed YAML in deploy job. The "Configure Pages" step has duplicate
This YAML syntax error will prevent the workflow from running. 🔧 Proposed fix for YAML structure - name: Configure Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- name: Deploy
+ - name: Deploy
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 78-78: duplication of key "uses" in mapping (key-duplicates) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||||||||
| name: lint | ||||||||||||
| on: | ||||||||||||
| push: | ||||||||||||
| branches: [main, master, develop] | ||||||||||||
| pull_request: | ||||||||||||
| branches: [main, master, develop] | ||||||||||||
| jobs: | ||||||||||||
| golangci: | ||||||||||||
| runs-on: ubuntu-latest | ||||||||||||
| steps: | ||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win Set The checkout action does not explicitly set 🛡️ Proposed fix- - uses: actions/checkout@v4
+ - uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- uses: actions/setup-go@v5🧰 Tools🪛 zizmor (1.25.2)[warning] 11-11: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) [error] 11-11: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||||||||||||
| - uses: actions/setup-go@v5 | ||||||||||||
| with: | ||||||||||||
| go-version: stable | ||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial | 💤 Low value Consider aligning Go version with The workflow uses 📌 Proposed fix to align with go.mod - uses: actions/setup-go@v5
with:
- go-version: stable
+ go-version: '1.26'
- name: golangci-lint📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||
| - name: golangci-lint | ||||||||||||
| uses: golangci/golangci-lint-action@v6 | ||||||||||||
| with: | ||||||||||||
| version: latest | ||||||||||||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||||||||||||
|
Comment on lines
+9
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial | 💤 Low value Consider pinning golangci-lint version for stability. Using 📌 Proposed fix to pin version - name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
- version: latest
+ version: v1.61Note: Verify the desired version at https://github.com/golangci/golangci-lint/releases 📝 Committable suggestion
Suggested change
🧰 Tools🪛 GitHub Check: CodeQL[warning] 9-18: Workflow does not contain permissions 🤖 Prompt for AI Agents |
||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| name: SAST Quick Check | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
|
|
||
| on: | ||
| pull_request: | ||
|
|
@@ -41,7 +45,8 @@ jobs: | |
| # Tier 3: Advisory - security enrichment only | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Analyze licenses | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| name: Analyze licenses | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. License scan step malformedMedium Severity The license-compliance job puts Reviewed by Cursor Bugbot for commit 050ddc3. Configure here. |
||
| uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4continue-on-error: true # Allow findings but don't fail | ||
|
Comment on lines
+48
to
50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical YAML syntax error: step contains multiple This step has This will cause workflow parsing to fail. 🔧 Proposed fix steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+
- name: Analyze licenses
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4continue-on-error: true # Allow findings but don't fail
+ continue-on-error: trueNote: Line 50 also has 🧰 Tools🪛 YAMLlint (1.37.1)[error] 50-50: duplication of key "uses" in mapping (key-duplicates) 🤖 Prompt for AI Agents |
||
| - name: Check for non-reusable licenses | ||
| run: | | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,8 @@ | ||||||
| name: Trufflehog Secrets Scan | ||||||
| concurrency: | ||||||
| group: ${{ github.workflow }}-${{ github.ref }} | ||||||
| cancel-in-progress: true | ||||||
|
|
||||||
| on: | ||||||
| push: | ||||||
| branches: [main] | ||||||
|
|
@@ -11,7 +15,10 @@ jobs: | |||||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||||||
| with: | ||||||
| fetch-depth: 0 | ||||||
| - uses: trufflehog/actions/setup@main | ||||||
| - uses: actions/setup-go@0a12ed9e1a4ce4b1a02a5f2dd1e3a9c9e6c7f8b1 | ||||||
| with: | ||||||
| go-version: 'stable' | ||||||
| - run: go install github.com/trufflehog/trufflehog/v3@latest | ||||||
|
Comment on lines
+18
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify the actions/setup-go commit SHA exists
gh api repos/actions/setup-go/commits/0a12ed9e1a4ce4b1a02a5f2dd1e3a9c9e6c7f8b1 \
--jq '.sha' 2>&1 || echo "ERROR: Invalid commit SHA"Repository: KooshaPari/cliproxyapi-plusplus Length of output: 356 🏁 Script executed: # Check if the trufflehog.yml file exists and examine lines 18-21
if [ -f ".github/workflows/trufflehog.yml" ]; then
echo "=== File found ==="
wc -l ".github/workflows/trufflehog.yml"
echo "=== Lines 18-21 ==="
sed -n '18,21p' ".github/workflows/trufflehog.yml"
else
echo "File .github/workflows/trufflehog.yml not found"
ls -la .github/workflows/ 2>/dev/null || echo ".github/workflows directory not found"
fiRepository: KooshaPari/cliproxyapi-plusplus Length of output: 334 🏁 Script executed: # Search for actions/setup-go references in the repository
rg "actions/setup-go" --type yaml -A 2 -B 2Repository: KooshaPari/cliproxyapi-plusplus Length of output: 57 🌐 Web query:
💡 Result: To use the actions/setup-go action effectively, follow these best practices regarding version specification and configuration [1][2][3]. ### Version Specification Best Practices For stable and reproducible builds, it is recommended to pin a specific Go version (e.g., '1.25.5') or at least a specific major/minor version (e.g., '1.25') [1]. - Use single quotes in your YAML configuration to prevent the parser from misinterpreting version numbers (e.g., '1.20' might be trimmed to '1.2' if unquoted) [2][3]. - You can specify exact versions (e.g., '1.24.11'), semantic version ranges (e.g., '^1.25.1'), or aliases like 'stable' or 'oldstable' [2][3]. - If you prefer stability and want to ensure a consistent Go version is always used, keep the default Citations:
🌐 Web query:
💡 Result: In GitHub Actions, referencing an action by a tag (e.g., Citations:
Fix the invalid The commit SHA 🤖 Prompt for AI Agents |
||||||
| - run: trufflehog github --only-verified --no-update | ||||||
| env: | ||||||
| GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical: Escaped secret variable prevents interpolation. Line 24 has TruffleHog will fail because it won't receive a valid GitHub token. 🔧 Proposed fix - run: trufflehog github --only-verified --no-update
env:
- GH_TOKEN: \${{ secrets.GITHUB_TOKEN }}
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checkout step includes run
High Severity
The first CI step sets
uses: actions/checkoutand also defines arunblock for refreshingmodels.json. A single step cannot combine an action andrun, so the catalog refresh may never execute and tests may use a missing or stale models file.Reviewed by Cursor Bugbot for commit 050ddc3. Configure here.