Commit Graph

330 Commits

Author SHA1 Message Date
LeonOstrez
80914f0722 Merge pull request #81 from nalbion/feature/should_execute_step
Refactored `execute_step()` as per #80
2023-09-12 12:57:52 +02:00
LeonOstrez
b023205a53 Merge pull request #85 from alter123/patch-1
Add check when the response is empty
2023-09-12 08:40:07 +02:00
LeonOstrez
9ffcdf79bb Merge pull request #82 from nalbion/feature/test_CodeMonkey
Feature/test code monkey
2023-09-12 08:09:12 +02:00
LeonOstrez
1d7c37324f Merge pull request #74 from gravypower/main
Added in ablity to quickley get going with docker and docker compose
2023-09-11 22:27:26 +02:00
LeonOstrez
cf99e5954e Merge pull request #69 from mrgoonie/main
feat(llm_connection): add openrouter api endpoint
2023-09-11 22:26:40 +02:00
Jay
74cbe33421 Add check when the response is empty
{
  "id": "",
  "object": "",
  "created": 0,
  "model": "",
  "prompt_annotations": [
    {
      "prompt_index": 0,
      "content_filter_results": {
        "hate": { "filtered": false, "severity": "safe" },
        "self_harm": { "filtered": false, "severity": "safe" },
        "sexual": { "filtered": false, "severity": "safe" },
        "violence": { "filtered": false, "severity": "safe" }
      }
    }
  ],
  "choices": [],
  "usage": null
}


In newer versions of models, at times choices array can be empty
2023-09-12 00:01:13 +05:30
zvone187
d9959f9c49 Update README.md 2023-09-11 20:00:19 +02:00
zvone187
8b16391704 Update README.md 2023-09-11 19:21:47 +02:00
zvone187
921a3a696d Merge pull request #4 from Zafiro12/main
Added table of contents to readme
2023-09-11 19:20:18 +02:00
zvone187
834df52b5e Merge branch 'main' into main 2023-09-11 19:19:15 +02:00
zvone187
b90a7473fe Update README.md 2023-09-11 19:08:38 +02:00
Zvonimir Sabljic
3408d02a36 Remove the legacy line 2023-09-11 15:58:12 +02:00
Nicholas Albion
e9e5532295 tidy up 2023-09-11 22:16:22 +10:00
Nicholas Albion
a94cbf9209 added documentation 2023-09-11 22:15:26 +10:00
Nicholas Albion
eea510a1e8 unit tests for CodeMonkey 2023-09-11 22:12:50 +10:00
Nicholas Albion
5b7b621832 Refactored execute_step() as per #80 2023-09-11 14:09:16 +10:00
Goon
3b207987aa Merge remote-tracking branch 'upstream/main' 2023-09-11 10:26:05 +07:00
Goon
c39346868a fix(gitignore): rm cache 2023-09-11 10:08:57 +07:00
Goon
367caa1797 fix(gitignore): rm pilot-env and cache 2023-09-11 10:08:42 +07:00
Aaron Job
11034733c3 installed node into the image also 2023-09-10 05:26:58 +00:00
Aaron Job
58d97b4366 fixed ttyd link 2023-09-10 04:39:29 +00:00
Aaron Job
5848f6de3b update readme to include the db_init and main 2023-09-10 04:32:39 +00:00
Aaron Job
fc063fde06 wired up dockr compose and ttyd 2023-09-10 02:26:55 +00:00
Aaron Job
d233db45d9 added in docker and docker compose files 2023-09-10 10:31:15 +10:00
LeonOstrez
bcfefd019d Merge pull request #54 from nalbion/feature/get_email-from-gitconfig
get email from ~/.gitconfig
2023-09-09 09:54:39 +02:00
LeonOstrez
b780a9f19c load environment asap so that other files have it available 2023-09-09 09:53:48 +02:00
Nicholas Albion
026eb69f2c actions/checkout@v4 2023-09-09 12:05:21 +10:00
Nicholas Albion
f2187b5a04 fixed tests for CI 2023-09-09 12:02:22 +10:00
Nicholas Albion
0a4d13e65c install ruff 2023-09-09 11:56:05 +10:00
Nicholas Albion
a38c7c4f6d linting 2023-09-09 11:54:16 +10:00
Nicholas Albion
4b64631bec linting 2023-09-09 11:50:55 +10:00
Nicholas Albion
3f36d04821 resolved deprecation warning 2023-09-09 11:44:19 +10:00
Nicholas Albion
c813d81d41 tests should pass in CI 2023-09-09 11:43:38 +10:00
Nicholas Albion
46b84315ec get_step_code_changes() is undefined, commented out for now 2023-09-09 11:16:11 +10:00
Nicholas Albion
310220b719 python-dotenv does dropped support for python 3.7 2023-09-09 11:12:41 +10:00
Nicholas Albion
f50eda5584 quoted python version to avoid 3.10 being treated as 3.1 2023-09-09 11:06:17 +10:00
Nicholas Albion
8cec113df9 test_username_to_uuid() 2023-09-09 10:54:33 +10:00
Nicholas Albion
831e6a4265 Merge remote-tracking branch 'origin/main' into feature/get_email-from-gitconfig
# Conflicts:
#	pilot/utils/arguments.py
2023-09-09 10:54:02 +10:00
LeonOstrez
c724429905 Merge pull request #58 from nalbion/feature/use_app_type_in_prompts
use {{ app_type }} from project.args in prompts
2023-09-08 15:18:00 +02:00
LeonOstrez
6c2ddc3f48 Merge pull request #57 from nalbion/feature/user_id-from-getpass_getuser
user_id defaults to OS username
2023-09-08 14:47:14 +02:00
LeonOstrez
fd1fae8c43 Merge branch 'main' into feature/user_id-from-getpass_getuser 2023-09-08 14:46:04 +02:00
LeonOstrez
d0fe3e3436 Merge pull request #65 from nalbion/feature/load-app-by-user-workspace
load app by user workspace
2023-09-08 14:35:48 +02:00
LeonOstrez
8b61c3206a Merge pull request #59 from nalbion/feature/workspace_configurable_in_args
workspace path can be specified in CLI args
2023-09-08 14:19:24 +02:00
Goon
2c567793c5 fix(env.example): correct model gpt-4 2023-09-08 18:07:06 +07:00
Goon
e5a71e884b fix(env): switch back to default env vars 2023-09-08 18:06:03 +07:00
Goon
02d334a750 fix(env.example): add openrouter env variables 2023-09-08 15:58:57 +07:00
Goon
02623b6353 fix(llm connection): add openrouter api endpoint 2023-09-08 15:52:29 +07:00
zvone187
0d522fcccb Update README.md 2023-09-08 09:13:25 +02:00
zvone187
f6b58c78a8 Merge pull request #61 from ramkrishna757575/database-type-check-fix
Fix : ValueError: Unsupported DATABASE_TYPE: postgres
2023-09-08 09:03:57 +02:00
Nicholas Albion
95c6e26665 removed commented-out code 2023-09-08 15:20:32 +10:00