From 839747b01fb581c37e7043983664bdaa56978f05 Mon Sep 17 00:00:00 2001 From: burias <22649451+burias@users.noreply.github.com> Date: Sat, 1 Feb 2025 18:46:43 -0500 Subject: [PATCH 1/6] Added note about unsupported models from OpenRouter --- docs/docs/troubleshooting.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index d4bbe69db..52dc785b2 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -118,6 +118,12 @@ By default the Continue window is on the left side of VS Code, but it can be dra If you have entered a valid API key and model, but are still getting a 404 error from OpenAI, this may be because you need to add credits to your billing account. You can do so from the [billing console](https://platform.openai.com/settings/organization/billing/overview). If you just want to check that this is in fact the cause of the error, you can try adding $1 to your account and checking whether the error persists. +### I'm getting a 404 error from OpenRouter + +If you have entered a valid API key and model, but are still getting a 404 error from OpenRouter, this may be because models that do not support function calling will return an error to Continue when a request is sent. +Example error: +`HTTP 404 Not Found from https://openrouter.ai/api/v1/chat/completions` + ### Indexing issues If you are having persistent errors with indexing, our recommendation is to rebuild your index from scratch. Note that for large codebases this may take some time. From cf1bcbdf5020b46b9f0d2f011fd9234b2e80aec9 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 4 Feb 2025 13:20:47 -0800 Subject: [PATCH 2/6] update ci file --- .github/workflows/pr_checks_skip.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_checks_skip.yaml b/.github/workflows/pr_checks_skip.yaml index 53476d79c..e8c542a46 100644 --- a/.github/workflows/pr_checks_skip.yaml +++ b/.github/workflows/pr_checks_skip.yaml @@ -7,13 +7,13 @@ on: branches: - main paths: - - docs/** + - "docs/**" push: branches: - main paths: - - docs/** + - "docs/**" jobs: require-all-checks-to-pass: From f1fae8629a46b7a4cd0b7c92178c349223353fd9 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 4 Feb 2025 13:26:17 -0800 Subject: [PATCH 3/6] update ci --- .github/workflows/{pr_checks_skip.yaml => pr_checks_docs.yaml} | 3 +++ 1 file changed, 3 insertions(+) rename .github/workflows/{pr_checks_skip.yaml => pr_checks_docs.yaml} (88%) diff --git a/.github/workflows/pr_checks_skip.yaml b/.github/workflows/pr_checks_docs.yaml similarity index 88% rename from .github/workflows/pr_checks_skip.yaml rename to .github/workflows/pr_checks_docs.yaml index e8c542a46..b19916750 100644 --- a/.github/workflows/pr_checks_skip.yaml +++ b/.github/workflows/pr_checks_docs.yaml @@ -20,6 +20,9 @@ jobs: if: always() runs-on: ubuntu-latest steps: + - name: Check out the repository + uses: actions/checkout@v4 + - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with: From 17d190e1e737b2009ea03b29aef7b42fd0285896 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 4 Feb 2025 13:35:32 -0800 Subject: [PATCH 4/6] update ci again --- .github/workflows/pr_checks_docs.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr_checks_docs.yaml b/.github/workflows/pr_checks_docs.yaml index b19916750..19a424538 100644 --- a/.github/workflows/pr_checks_docs.yaml +++ b/.github/workflows/pr_checks_docs.yaml @@ -1,19 +1,19 @@ # When none of the paths are matched for the pr_checks.yaml workflow # we still need the require-all-checks-to-pass job to pass -name: PR checks skip +name: PR checks docs on: pull_request: branches: - main - paths: - - "docs/**" + # paths: + # - "docs/**" push: branches: - main - paths: - - "docs/**" + # paths: + # - "docs/**" jobs: require-all-checks-to-pass: From 3091403304f0ffc2c2e4902b580486991e39542c Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 4 Feb 2025 13:46:56 -0800 Subject: [PATCH 5/6] remove if always --- .github/workflows/pr_checks_docs.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr_checks_docs.yaml b/.github/workflows/pr_checks_docs.yaml index 19a424538..bfda5862d 100644 --- a/.github/workflows/pr_checks_docs.yaml +++ b/.github/workflows/pr_checks_docs.yaml @@ -17,7 +17,6 @@ on: jobs: require-all-checks-to-pass: - if: always() runs-on: ubuntu-latest steps: - name: Check out the repository From 136689746aad2268a8b343c89f63edc6c44dd675 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 4 Feb 2025 13:51:49 -0800 Subject: [PATCH 6/6] just run all tests on docs only prs --- .github/workflows/pr_checks.yaml | 1 + .github/workflows/pr_checks_docs.yaml | 30 --------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 .github/workflows/pr_checks_docs.yaml diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 578e0974b..455a58428 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -10,6 +10,7 @@ on: - "core/**" - "gui/**" - ".github/workflows/**" + - "docs/**" push: branches: diff --git a/.github/workflows/pr_checks_docs.yaml b/.github/workflows/pr_checks_docs.yaml deleted file mode 100644 index bfda5862d..000000000 --- a/.github/workflows/pr_checks_docs.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# When none of the paths are matched for the pr_checks.yaml workflow -# we still need the require-all-checks-to-pass job to pass -name: PR checks docs - -on: - pull_request: - branches: - - main - # paths: - # - "docs/**" - - push: - branches: - - main - # paths: - # - "docs/**" - -jobs: - require-all-checks-to-pass: - runs-on: ubuntu-latest - steps: - - name: Check out the repository - uses: actions/checkout@v4 - - - name: Decide whether the needed jobs succeeded or failed - uses: re-actors/alls-green@release/v1 - with: - allowed-failures: - allowed-skips: - jobs: []