From bc5741d81012909939a59b71a6c8751271d691c8 Mon Sep 17 00:00:00 2001 From: "bobo.yang" Date: Tue, 19 Dec 2023 17:04:04 +0800 Subject: [PATCH] Update workflow command in config.yml --- .circleci/config.yml | 3 --- test/workflows/workflow_test.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1efff50..1373479 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: | diff --git a/test/workflows/workflow_test.py b/test/workflows/workflow_test.py index 22b23b7..ed0cbc3 100644 --- a/test/workflows/workflow_test.py +++ b/test/workflows/workflow_test.py @@ -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执行命令