From d474082964b6d7221a017e41061f1b64637efff3 Mon Sep 17 00:00:00 2001 From: Joschka Braun Date: Tue, 9 May 2023 14:40:45 +0200 Subject: [PATCH] :rocket: fix: ci --- .github/workflows/ci.yml | 2 +- dev_gpt/options/generate/generator.py | 2 +- dev_gpt/options/generate/templates_user.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3b71b3..abfc233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - group: [0, 1, 2, 3, 4, 5] + group: [0, 1, 2, 3, 4] steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 diff --git a/dev_gpt/options/generate/generator.py b/dev_gpt/options/generate/generator.py index b5f247a..50057d8 100644 --- a/dev_gpt/options/generate/generator.py +++ b/dev_gpt/options/generate/generator.py @@ -171,7 +171,7 @@ metas: ```''' content_raw = conversation.chat( 'Based on your previous response, only output the content' + (f' for `{file_name_s[0]}`' if len(file_name_s) == 1 else '') + - '. You must wrap any file in triple backticks at the beginning and end of it. Like this:\n' + + '. Like this:\n' + file_wrapping_example ) content = parse_result_fn(content_raw) diff --git a/dev_gpt/options/generate/templates_user.py b/dev_gpt/options/generate/templates_user.py index 2673cae..e020faa 100644 --- a/dev_gpt/options/generate/templates_user.py +++ b/dev_gpt/options/generate/templates_user.py @@ -288,7 +288,7 @@ The output is: ```json {{"packages": [libgl1-mesa-glx]}} ``` -Only output the apt-get-packages.json file. Ensure the response can be parsed by Python json.loads +Only output content of the apt-get-packages.json file. Ensure the response can be parsed by Python json.loads Note that you must not output the content of any other. Especially don't output the Dockerfile or requirements.txt. ''' )