Update workflow command in config.yml
This commit is contained in:
parent
c924834400
commit
bc5741d810
@ -33,9 +33,6 @@ jobs:
|
|||||||
mkdir -p ~/.chat/workflows
|
mkdir -p ~/.chat/workflows
|
||||||
git clone https://github.com/devchat-ai/workflows.git ~/.chat/workflows/sys
|
git clone https://github.com/devchat-ai/workflows.git ~/.chat/workflows/sys
|
||||||
cd ~/.chat/workflows/sys
|
cd ~/.chat/workflows/sys
|
||||||
git fetch
|
|
||||||
git checkout update_workflow_util
|
|
||||||
python3 -m devchat run --list
|
|
||||||
- run:
|
- run:
|
||||||
name: Run workflow tests
|
name: Run workflow tests
|
||||||
command: |
|
command: |
|
||||||
|
@ -13,7 +13,7 @@ def run_devchat_command(model, commit_command, input_mock):
|
|||||||
timeout = 300 # 超时时间,单位为秒
|
timeout = 300 # 超时时间,单位为秒
|
||||||
# 构建命令
|
# 构建命令
|
||||||
command = [
|
command = [
|
||||||
sys.executable, '-m', 'devchat', 'prompt', '-m', 'gpt-3.5-turbo', '--', commit_command
|
sys.executable, '-m', 'devchat', 'route', '-m', 'gpt-3.5-turbo', '--', commit_command
|
||||||
]
|
]
|
||||||
|
|
||||||
# 使用subprocess.Popen执行命令
|
# 使用subprocess.Popen执行命令
|
||||||
|
Loading…
x
Reference in New Issue
Block a user