diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index bb5cf692bc..8599465254 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -8,6 +8,15 @@ permissions: contents: read jobs: + shell: + runs-on: macos-15 + steps: + - uses: actions/checkout@v6 + - name: Check deployment scripts + run: | + /bin/bash -n deploy/apple-container.sh + /bin/bash deploy/tests/apple-container-test.sh + test: runs-on: ubuntu-latest steps: diff --git a/.gitignore b/.gitignore index bd2e3e6ddf..d45d27f79e 100644 --- a/.gitignore +++ b/.gitignore @@ -116,6 +116,8 @@ backend/.installed # 其他 # =================== tests +!deploy/tests/ +!deploy/tests/** CLAUDE.md .claude scripts diff --git a/README.md b/README.md index 661cd8e7eb..00f021ea2c 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,12 @@ Model authenticity: no content intervention or secondary filtering — experienc +



- {{ t('admin.accounts.oauth.grok.oauthOnlyHint') }} -
@@ -1087,10 +1111,12 @@ ? 'https://api.openai.com' : form.platform === 'gemini' ? 'https://generativelanguage.googleapis.com' - : 'https://api.anthropic.com' + : form.platform === 'grok' + ? 'https://api.x.ai/v1' + : 'https://api.anthropic.com' " /> -{{ baseUrlHint }}
+{{ baseUrlHint }}
{{ apiKeyHint }}
+{{ apiKeyHint }}
+ {{ t('admin.accounts.openai.longContextBillingDesc') }} +
+{{ baseUrlHint }}
+{{ baseUrlHint }}
{{ t('admin.accounts.leaveEmptyToKeep') }}
@@ -1782,7 +1786,39 @@ />+ {{ t('admin.accounts.openai.longContextBillingDesc') }} +
++ {{ t('admin.accounts.openai.planTypeDesc') }} +
++ {{ t(getOAuthKey('ssoCookieDesc')) }} +
+ ++ {{ t(getOAuthKey('ssoCookieHint')) }} +
++ {{ error }} +
+