Commit Graph

28 Commits

Author SHA1 Message Date
LeonOstrez
05177ada3c loc (#632)
Add lines of code to files list in prompts
2024-02-05 15:08:32 -08:00
Senko Rasic
d59e5d9f00 Improve file ignoring 2024-02-03 15:02:15 -08:00
Senko Rasic
e4041389e5 Send success events on every initial project / feature completion 2024-01-22 12:25:42 -08:00
Senko Rasic
26b52e810d Ignore files based on name(glob), size and whether they're binary files 2024-01-19 19:01:50 -08:00
Senko Rasic
07a7af6627 telemetry: gather project size and slow/big request statistics 2024-01-18 19:44:41 -08:00
Senko Rasic
c81faa8609 make Telemetry.record_crash() more resilient 2024-01-14 10:32:39 -08:00
Senko Rasic
3383210779 Improve telemetry to record:
- crash diagnostics
- whether the VSCode extension is used
- gpt-pilot core version
- number of tokens used
2024-01-13 13:15:40 -08:00
LeonOstrez
41af0e7367 Update test_files.py 2023-12-26 09:55:27 +01:00
LeonOstrez
a9d07eb998 fix tests for colors 2023-11-27 10:29:17 +00:00
Senko Rasic
3583f6b4e1 Don't rely on __pycache__ existing to test binary file load 2023-11-24 10:49:28 +01:00
Senko Rasic
5aac4e4e50 refactor, simplify and test file access and paths
This also fixes path and codec handling on Windows.
2023-11-19 17:58:06 +01:00
Senko Rasic
882490c1fa don't depend on existence of config file for test runner 2023-11-14 21:04:21 +01:00
Senko Rasic
14931c7c28 implement optional telemetry gathering 2023-11-14 18:38:53 +01:00
Senko Rasic
f78fcea8f2 Add support for settings in ~/.gpt-pilot and telemetry 2023-11-14 12:40:47 +01:00
Senko Rasic
8c51000b1b Use binary database fields for storing file snapshots
Since files may be text (utf-8 encoded) or binary, it is better to
treat all files as binary and encode/decode when we know we're dealing
with text files. SQLite doesn't care, but PostgreSQL does.

Fixes: #41
2023-10-28 11:57:42 +02:00
Umpire2018
f589c75411 feature: Enhancements to custom open function 2023-10-19 23:33:31 +08:00
Umpire2018
ab13cabf7e feat: add theme management and testing
- Implement theme setting and dynamic color function generation.
- Introduce tests to validate color rendering in console.
2023-10-15 14:54:37 +08:00
Arno.Edwards
2c68975cab Merge branch 'main' into feature/no-color 2023-10-14 15:48:43 +08:00
Umpire2018
7431e990da feat: Integrate NO_COLOR support and replace existing color functions
- Offer utility functions for dynamically generating color applying functions, simplifying the codebase and reducing redundancy.
2023-10-14 15:19:38 +08:00
Nicholas Albion
2a165d32a6 Merge branch 'main' into feature/121-dot_gpt-pilot-folder 2023-10-12 19:42:15 +11:00
Umpire2018
a296d0d971 feat: Implement unified color_text function
- Create `color_text` function to consolidate disparate output color functions.
- Add tests in `test/test_color.py`.
2023-10-11 17:46:05 +08:00
Nicholas Albion
f9ab197f26 #121 create .gpt-pilot directory, save project info & chat log 2023-10-11 16:50:42 +11:00
Nicholas Albion
7defdf9dce linting with ruff 2023-10-10 12:30:41 +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
05a0358d39 --ux-test arg provides short-cuts to defined scenarios for testing 2023-10-02 19:06:01 +11:00
Nicholas Albion
8a024c2ff2 rejecting responses that are not JSON.
Need to fix prompts for GPT-4
2023-09-26 17:27:54 +10:00
Nicholas Albion
623908d093 fixed tests 2023-09-23 17:08:22 +10:00
Nicholas Albion
4d91f381c1 Tested Developer.install_technology before refactoring without function_calling 2023-09-22 19:11:50 +10:00