Merge pull request #366 from devchat-ai/fix_workflow_test
Update workflow command in config.yml
This commit is contained in:
commit
d8ca210834
@ -33,9 +33,6 @@ jobs:
|
||||
mkdir -p ~/.chat/workflows
|
||||
git clone https://github.com/devchat-ai/workflows.git ~/.chat/workflows/sys
|
||||
cd ~/.chat/workflows/sys
|
||||
git fetch
|
||||
git checkout update_workflow_util
|
||||
python3 -m devchat run --list
|
||||
- run:
|
||||
name: Run workflow tests
|
||||
command: |
|
||||
|
@ -13,7 +13,7 @@ def run_devchat_command(model, commit_command, input_mock):
|
||||
timeout = 300 # 超时时间,单位为秒
|
||||
# 构建命令
|
||||
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执行命令
|
||||
|
Loading…
x
Reference in New Issue
Block a user