mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-04-24 06:39:45 +08:00
fix: revert CI path filters (#5561)
This commit is contained in:
parent
f8d97be932
commit
023dba9475
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
@ -11,7 +11,6 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
python-style:
|
python-style:
|
||||||
if: contains(github.event.pull_request.changed_files, 'api/')
|
|
||||||
name: Python Style
|
name: Python Style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -51,7 +50,6 @@ jobs:
|
|||||||
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|
||||||
|
|
||||||
web-style:
|
web-style:
|
||||||
if: contains(github.event.pull_request.changed_files, 'web/')
|
|
||||||
name: Web Style
|
name: Web Style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
|
@ -25,6 +25,7 @@ class ModelConfigResource(Resource):
|
|||||||
@account_initialization_required
|
@account_initialization_required
|
||||||
@get_app_model(mode=[AppMode.AGENT_CHAT, AppMode.CHAT, AppMode.COMPLETION])
|
@get_app_model(mode=[AppMode.AGENT_CHAT, AppMode.CHAT, AppMode.COMPLETION])
|
||||||
def post(self, app_model):
|
def post(self, app_model):
|
||||||
|
|
||||||
"""Modify app model config"""
|
"""Modify app model config"""
|
||||||
# validate config
|
# validate config
|
||||||
model_configuration = AppModelConfigService.validate_configuration(
|
model_configuration = AppModelConfigService.validate_configuration(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user