rejecting responses that are not JSON.

Need to fix prompts for GPT-4
This commit is contained in:
Nicholas Albion
2023-09-26 17:27:54 +10:00
parent b8965f527d
commit 8a024c2ff2
11 changed files with 298 additions and 66 deletions

View File

@@ -9,12 +9,7 @@ load_dotenv()
from main import get_custom_print
from .Developer import Developer, ENVIRONMENT_SETUP_STEP
from helpers.Project import Project
def mock_terminal_size():
mock_size = Mock()
mock_size.columns = 80 # or whatever width you want
return mock_size
from test.mock_terminal_size import mock_terminal_size
class TestDeveloper: