From 0e7f8948a6e5e62407a04c89811244c1a5218438 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 3 Aug 2023 13:31:06 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=80=20refactor(functionscalls.py):?= =?UTF-8?q?=20update=20import=20statement=20for=20tenor=5Fapi=5Fkey=20to?= =?UTF-8?q?=20use=20absolute=20path=20for=20better=20module=20resolution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/functionscalls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionscalls.py b/src/functionscalls.py index 04be1f1..9d9d5b9 100644 --- a/src/functionscalls.py +++ b/src/functionscalls.py @@ -4,7 +4,7 @@ import aiohttp import random import time from bs4 import BeautifulSoup -from config import tenor_api_key +from src.config import tenor_api_key randomseed = time.time() random.seed(randomseed) From 9324785ee195f4eff48e593db61498c1372c0e10 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 3 Aug 2023 13:32:03 +0200 Subject: [PATCH 2/2] Delete opencommit.yml --- .github/workflows/opencommit.yml | 39 -------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/opencommit.yml diff --git a/.github/workflows/opencommit.yml b/.github/workflows/opencommit.yml deleted file mode 100644 index 1709195..0000000 --- a/.github/workflows/opencommit.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: 'OpenCommit Action' - -on: - push: - # this list of branches is often enough, - # but you may still ignore other public branches - branches-ignore: [main master dev development release] - -jobs: - opencommit: - timeout-minutes: 10 - name: OpenCommit - runs-on: ubuntu-latest - permissions: write-all - steps: - - name: Setup Node.js Environment - uses: actions/setup-node@v2 - with: - node-version: '16' - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: di-sukharev/opencommit@github-action-v1.0.4 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - env: - # set openAI api key in repo actions secrets, - # for openAI keys go to: https://platform.openai.com/account/api-keys - # for repo secret go to: /settings/secrets/actions - OCO_OPENAI_API_KEY: ${{ secrets.OCO_OPENAI_API_KEY }} - - # customization - OCO_OPENAI_MAX_TOKENS: 500 - OCO_OPENAI_BASE_PATH: '' - OCO_DESCRIPTION: false - OCO_EMOJI: true - OCO_MODEL: gpt-3.5-turbo - OCO_LANGUAGE: en \ No newline at end of file