fix: revert CI path filters (#5561)

This commit is contained in:
Yeuoly 2024-06-24 23:46:15 +08:00 committed by GitHub
parent f8d97be932
commit 023dba9475
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -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(