Update workflow command in config.yml

This commit is contained in:
bobo.yang 2023-12-19 17:04:04 +08:00
parent c924834400
commit bc5741d810
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -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执行命令