Commit Graph

351 Commits

Author SHA1 Message Date
Umpire2018
b75f1faaa6 Replace psycopg2 with psycopg2-binary
To avoid `No matching distribution found for psycopg2`, I use an alternative from [Psycopg2 web page](https://www.psycopg.org/docs/install.html#quick-install).
It is the quickest way to install Psycopg by using the wheel package available on PyPI in most operating systems.
close #101, close #34
2023-09-27 21:01:31 +08:00
Nicholas Albion
108271f28a ignore ': OPENROUTER PROCESSING' 2023-09-27 13:10:52 +10:00
Nicholas Albion
c67e9a41df Merge branch 'main' of https://github.com/Pythagora-io/gpt-pilot
# Conflicts:
#	README.md
2023-09-27 12:53:09 +10:00
zvone187
2d0b741a93 Merge pull request #97 from gravypower/main
Fixed docker compose health check on the database and update readme
2023-09-18 16:28:25 -07:00
Aaron Job
322a003bd2 fixed doker link 2023-09-15 22:36:47 +00:00
Aaron Job
242db9c4b2 fixed docker health check 2023-09-15 22:33:03 +00:00
Zvonimir Sabljic
1f41e64c26 Better logging of errors 2023-09-12 21:39:43 +02:00
Nicholas Albion
54bee95a8c Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	pilot/helpers/AgentConvo.py
#	pilot/utils/llm_connection.py
2023-09-12 22:57:48 +10:00
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
a8008b263e Merge branch 'feature/prompts_and_agents_documentation' 2023-09-11 14:18:10 +10:00
Nicholas Albion
21f18d5318 Merge branch 'feature/should_execute_step'
# Conflicts:
#	pilot/helpers/agents/Developer.py
2023-09-11 14:17:56 +10:00
Nicholas Albion
578a665f19 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pilot/helpers/agents/Developer.py
#	pilot/utils/arguments.py
#	pilot/utils/llm_connection.py
2023-09-11 14:15:11 +10:00
Nicholas Albion
5b7b621832 Refactored execute_step() as per #80 2023-09-11 14:09:16 +10:00
Nicholas Albion
de196af7a9 Documented CLI args 2023-09-11 13:57:15 +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
Nicholas Albion
da1e0feb3b added documentation 2023-09-11 03:05:39 +10: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
Nicholas Albion
aa8f82a7a6 linting 2023-09-09 21:49:04 +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