From 023dba9475a9cbe75cc2e00988761811d33e037e Mon Sep 17 00:00:00 2001 From: Yeuoly <45712896+Yeuoly@users.noreply.github.com> Date: Mon, 24 Jun 2024 23:46:15 +0800 Subject: [PATCH] fix: revert CI path filters (#5561) --- .github/workflows/style.yml | 2 -- api/controllers/console/app/model_config.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 0937115b74..f6092c8633 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -11,7 +11,6 @@ concurrency: jobs: python-style: - if: contains(github.event.pull_request.changed_files, 'api/') name: Python Style runs-on: ubuntu-latest @@ -51,7 +50,6 @@ jobs: run: echo "Please run 'dev/reformat' to fix the fixable linting errors." web-style: - if: contains(github.event.pull_request.changed_files, 'web/') name: Web Style runs-on: ubuntu-latest defaults: diff --git a/api/controllers/console/app/model_config.py b/api/controllers/console/app/model_config.py index 05d7958f7d..c8df879a29 100644 --- a/api/controllers/console/app/model_config.py +++ b/api/controllers/console/app/model_config.py @@ -25,6 +25,7 @@ class ModelConfigResource(Resource): @account_initialization_required @get_app_model(mode=[AppMode.AGENT_CHAT, AppMode.CHAT, AppMode.COMPLETION]) def post(self, app_model): + """Modify app model config""" # validate config model_configuration = AppModelConfigService.validate_configuration(