Nicholas Albion
|
17042efd36
|
Fixed issue with logging from Peewee - provided tuple as record.msg
|
2023-10-05 20:40:04 +11:00 |
|
Nicholas Albion
|
a38c35fafa
|
#131 if process_name is specified to execute_command() keep the process alive
|
2023-10-05 20:39:01 +11:00 |
|
Nicholas Albion
|
1bc25c331c
|
e.msg may also be 'Unterminated string starting at' or other values
|
2023-10-05 12:47:40 +11:00 |
|
Nicholas Albion
|
131f537f6c
|
updated test_create_development_plan()
|
2023-10-05 12:38:26 +11:00 |
|
LeonOstrez
|
e1a788b037
|
Merge pull request #125 from Pythagora-io/fix/fix-tests
fixed unit tests
|
2023-10-05 00:32:59 +01:00 |
|
Nicholas Albion
|
22bea0f388
|
clean up
|
2023-10-04 18:19:53 +11:00 |
|
Nicholas Albion
|
a1304d0d54
|
restoring other tests
|
2023-10-04 18:15:55 +11:00 |
|
Nicholas Albion
|
009e05d54d
|
Having imports in __init__.py breaks mocking in Python 3.9 & 3.10
|
2023-10-04 18:13:18 +11:00 |
|
Nicholas Albion
|
6ae562a945
|
now try test_Dev again
|
2023-10-04 18:11:25 +11:00 |
|
Nicholas Albion
|
2e87627db8
|
previous commit worked, feeling confident
|
2023-10-04 18:09:28 +11:00 |
|
Nicholas Albion
|
fd7958b6c4
|
try without import in __init__.py
|
2023-10-04 18:07:37 +11:00 |
|
Nicholas Albion
|
d7130c3dbd
|
debugging
|
2023-10-04 18:01:15 +11:00 |
|
Nicholas Albion
|
8bb0c9db4b
|
comment out mock for now
|
2023-10-04 17:56:58 +11:00 |
|
Nicholas Albion
|
fbc44890b2
|
Merge branch 'main' into fix/fix-tests
# Conflicts:
# pilot/helpers/Project.py
|
2023-10-04 17:55:40 +11:00 |
|
Nicholas Albion
|
f99c0592c5
|
bump ci
|
2023-10-04 17:50:55 +11:00 |
|
Nicholas Albion
|
64c8002a83
|
simplify
|
2023-10-04 17:48:22 +11:00 |
|
Nicholas Albion
|
67f88a6924
|
where is update_file
|
2023-10-04 17:46:19 +11:00 |
|
Nicholas Albion
|
bb6a2b6a88
|
create Project after mocking
|
2023-10-04 17:38:33 +11:00 |
|
Nicholas Albion
|
d051a75e04
|
mocker.patch('helpers.Project.File')
|
2023-10-04 17:30:17 +11:00 |
|
Nicholas Albion
|
ff9c104a85
|
pytest-mock
|
2023-10-04 17:26:23 +11:00 |
|
Nicholas Albion
|
db0d01dce9
|
@patch('database.models.files.File.insert')
|
2023-10-04 17:08:52 +11:00 |
|
Nicholas Albion
|
4cffc00d43
|
fix for Python 3.9 & 3.10: @patch('helpers.files.update_file')
|
2023-10-04 17:03:22 +11:00 |
|
Nicholas Albion
|
4f288f60d3
|
fix fro test_Project
|
2023-10-04 17:00:42 +11:00 |
|
Nicholas Albion
|
0c0d719d0f
|
new_callable=MagicMock
|
2023-10-04 16:42:21 +11:00 |
|
Nicholas Albion
|
b9d8bfa724
|
run on other python 3.9-3.12
|
2023-10-04 16:21:45 +11:00 |
|
Nicholas Albion
|
16b26ae85a
|
uncomment test_implement_code_changes_with_read
|
2023-10-04 16:19:33 +11:00 |
|
Nicholas Albion
|
908fec154e
|
tidy up
|
2023-10-04 16:18:05 +11:00 |
|
Nicholas Albion
|
0536ec9ea9
|
monkeypatch.setenv('OPENAI_API_KEY', 'secret')
|
2023-10-04 16:12:00 +11:00 |
|
Nicholas Albion
|
d0c8db238c
|
updated __init__.py
|
2023-10-04 16:09:41 +11:00 |
|
Nicholas Albion
|
c1e47ceb8b
|
testing new ApiKeyNotDefinedError in CI
|
2023-10-04 16:06:47 +11:00 |
|
Nicholas Albion
|
9251c1831e
|
model = os.getenv('MODEL_NAME', 'gpt-4') - which makes sense as CI doesn't have my env
|
2023-10-04 15:50:45 +11:00 |
|
Nicholas Albion
|
366e88dc4d
|
more debug
|
2023-10-04 15:47:47 +11:00 |
|
Nicholas Albion
|
11da00605a
|
more logging
|
2023-10-04 15:42:50 +11:00 |
|
Nicholas Albion
|
8914bb438e
|
added debuggin logs for CI
|
2023-10-04 15:39:11 +11:00 |
|
Nicholas Albion
|
4abed31309
|
without mock_questionary again
|
2023-10-04 15:29:53 +11:00 |
|
Nicholas Albion
|
796821ae24
|
log warning & error etc
|
2023-10-04 15:23:58 +11:00 |
|
Nicholas Albion
|
cbac991bd9
|
avoid getting stuck in a loop if LLM can't conform to schema.
|
2023-10-04 15:23:36 +11:00 |
|
Nicholas Albion
|
0d8a4c7fee
|
try without logger.error(str, e)
|
2023-10-04 14:56:16 +11:00 |
|
Nicholas Albion
|
a63aedb2b1
|
fix for #130
|
2023-10-04 14:53:22 +11:00 |
|
Nicholas Albion
|
388aa0533e
|
try without mock_questionary
|
2023-10-04 14:35:43 +11:00 |
|
Nicholas Albion
|
623eb9deb8
|
uncomment test_test_code_changes_invalid_json()
|
2023-10-04 14:14:56 +11:00 |
|
Nicholas Albion
|
2f64ab9e80
|
explicitly use Python 3.11 as per #126
|
2023-10-04 14:13:09 +11:00 |
|
Nicholas Albion
|
d65564415b
|
uncommented test_code_changes_manual_test_no()
|
2023-10-04 14:10:00 +11:00 |
|
Nicholas Albion
|
86724f79f7
|
uncomment test_code_changes_manual_test_continue()
|
2023-10-04 13:51:51 +11:00 |
|
Nicholas Albion
|
ebb88489ce
|
debugging CI
|
2023-10-04 13:38:23 +11:00 |
|
Nicholas Albion
|
3f38950c93
|
un-comment Dev tests
|
2023-10-04 13:24:00 +11:00 |
|
Nicholas Albion
|
478b35b143
|
commented out CodeMonkey and Dev tests
- trying to figure out why GitHub was cancelling the run
|
2023-10-04 13:18:19 +11:00 |
|
Nicholas Albion
|
8c26ce7674
|
logger.warn() is deprecated
|
2023-10-04 13:17:21 +11:00 |
|
Nicholas Albion
|
2bc5b8f11c
|
skip test_get_full_path_absolute() - #29
|
2023-10-04 11:34:29 +11:00 |
|
Nicholas Albion
|
8b4c769501
|
just 3.11
|
2023-10-04 11:31:20 +11:00 |
|