Просмотр исходного кода

fix: revert CI path filters (#5561)

tags/0.6.12
Yeuoly 1 год назад
Родитель
Сommit
023dba9475
Аккаунт пользователя с таким Email не найден
2 измененных файлов: 1 добавлений и 2 удалений
  1. 0
    2
      .github/workflows/style.yml
  2. 1
    0
      api/controllers/console/app/model_config.py

+ 0
- 2
.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:

+ 1
- 0
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(

Загрузка…
Отмена
Сохранить