From 2bbc5d7d3435a7bddca428935e68e7613504cb71 Mon Sep 17 00:00:00 2001 From: Emery Berger Date: Sat, 13 Apr 2024 18:04:05 +0000 Subject: [PATCH 1/2] Trying. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d412087..466e68f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: - name: install test dependencies run: | - python3 -m pip install pytest pytest-asyncio pytest-forked hypothesis + python3 -m pip install pytest pytest-asyncio pytest-forked hypothesis pytest-mock python3 -m pip install -r test/requirements.txt python3 -m pip install . From 4fe6d379e0b785f3810189c1f3bf90390c8ecf46 Mon Sep 17 00:00:00 2001 From: Emery Berger Date: Sat, 13 Apr 2024 18:11:57 +0000 Subject: [PATCH 2/2] Removed NoneType. --- src/chatdbg/util/prompts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/chatdbg/util/prompts.py b/src/chatdbg/util/prompts.py index db028b8..c39bccc 100644 --- a/src/chatdbg/util/prompts.py +++ b/src/chatdbg/util/prompts.py @@ -2,7 +2,6 @@ import os from chatdbg.util.config import chatdbg_config from .text import truncate_proportionally -from types import NoneType from typing import Any, Callable, List, Union, Optional