paul-gauthier
b43ed20085
Merge pull request #1492 from jalammar/cohere-model-refresh
...
Add New Cohere Models
2024-09-11 08:39:42 -07:00
Paul Gauthier
007f841328
copy
2024-09-11 08:18:07 -07:00
Jay Alammar
5cdcbb1a26
Add to docs
2024-09-11 11:04:38 -04:00
Jay Alammar
7315624b98
bugfix
2024-09-11 10:55:45 -04:00
Paul Gauthier
0a3b4147fa
test: update main tests to handle None input and add --exit flag
2024-09-10 15:32:43 -07:00
Paul Gauthier (aider)
fa49ab09c4
test: update code_theme tests to check InputOutput initialization
2024-09-10 15:24:11 -07:00
paul-gauthier
d1384e9d5f
Merge pull request #1402 from caseymcc/io_assistant_output
...
Modify output from Assistant and Commands to go through InputOutput
2024-09-10 15:08:10 -07:00
Paul Gauthier
33b11d0efb
refactor: simplify console initialization and error handling
2024-09-10 14:48:54 -07:00
Paul Gauthier
fd18adb072
refactor: handle prompt toolkit initialization errors gracefully
2024-09-10 14:34:25 -07:00
Paul Gauthier
454c2f4d0e
feat: add --exit flag to test cases for controlled termination
2024-09-10 14:30:04 -07:00
Paul Gauthier (aider)
59bdc45728
refactor: Remove unused mock_open import
2024-09-10 14:18:56 -07:00
Paul Gauthier (aider)
645252168c
style: sort imports and fix quotation marks
2024-09-10 14:18:37 -07:00
Paul Gauthier (aider)
fb87dd883c
test: patch input() to return empty string
...
This commit patches the `input()` builtin to return an empty string in the test setup, preventing tests from hanging while waiting for user input. It also adds cleanup for the patch in the teardown method.
2024-09-10 14:18:32 -07:00
Paul Gauthier (aider)
8da88eef64
fix: remove unused import of builtins module
2024-09-10 14:09:40 -07:00
Paul Gauthier (aider)
3685f307c7
style: reorder imports in test_io.py
2024-09-10 14:09:33 -07:00
Paul Gauthier (aider)
d5d087123a
test: update input mocking in TestInputOutput
2024-09-10 14:09:29 -07:00
Paul Gauthier (aider)
1d312e372d
refactor: Remove unused import of 'prompt' from prompt_toolkit
2024-09-10 14:07:32 -07:00
Paul Gauthier (aider)
13fe2036db
style: remove trailing whitespace in io.py
2024-09-10 14:06:55 -07:00
Paul Gauthier (aider)
d4e47bc7e7
refactor: update confirm_ask to use prompt_session or input
2024-09-10 14:06:51 -07:00
Paul Gauthier (aider)
79a424bc10
refactor: conditionally initialize and use PromptSession based on pretty flag
2024-09-10 13:49:22 -07:00
Paul Gauthier
ed866d33e4
pip-compiled
2024-09-10 13:40:19 -07:00
Paul Gauthier
04556ef32d
Merge remote-tracking branch 'refs/remotes/origin/main'
2024-09-10 13:39:06 -07:00
paul-gauthier
36553d797f
Merge pull request #1003 from cclauss/patch-1
...
Fix typos discovered by codespell
2024-09-10 13:38:59 -07:00
Paul Gauthier
2c08cc47e6
copy
2024-09-10 13:38:25 -07:00
Paul Gauthier (aider)
971fe5017a
feat: enable automatic writing of codespell changes in pyproject.toml
2024-09-10 13:38:14 -07:00
Paul Gauthier (aider)
e3e6437dca
chore: configure codespell to use pyproject.toml and skip specific files
2024-09-10 13:37:18 -07:00
Paul Gauthier (aider)
c575bae710
feat: add codespell as pre-commit hook
2024-09-10 13:33:27 -07:00
Paul Gauthier (aider)
13f9685f13
style: Format code to comply with linter rules
2024-09-10 13:03:36 -07:00
Paul Gauthier (aider)
00f03d89b9
feat: expand read-only command to handle directories
2024-09-10 13:03:31 -07:00
Paul Gauthier
484fdd7aa3
fix: handle ValueError exception in run_cmd_pexpect function
2024-09-10 12:06:45 -07:00
Paul Gauthier
c152c96fcc
copy
2024-09-10 10:05:01 -07:00
Paul Gauthier (aider)
89891efbb8
style: format prompt_session.prompt call to fit on one line
2024-09-10 10:00:05 -07:00
Paul Gauthier (aider)
43eaf91e8d
refactor: use pre-initialized PromptSession in prompt_ask function
2024-09-10 10:00:00 -07:00
Paul Gauthier (aider)
bf3a165961
refactor: initialize and reuse PromptSession in InputOutput class
2024-09-10 09:57:09 -07:00
Paul Gauthier
33b69d2ee8
pip-compiled
2024-09-10 09:48:23 -07:00
Paul Gauthier (aider)
766569a278
refactor: Remove unused ctypes import
2024-09-10 09:45:05 -07:00
Paul Gauthier (aider)
cc94b51a0b
style: use double quotes for string literals in run_cmd.py
2024-09-10 09:44:57 -07:00
Paul Gauthier (aider)
f1d1d1b37a
feat: improve Windows parent process detection using psutil
2024-09-10 09:44:54 -07:00
Paul Gauthier
e84caa48a0
refactor: modify stdout reading chunk size in run_cmd_subprocess
2024-09-10 09:44:52 -07:00
Paul Gauthier (aider)
ab9d9c8429
refactor: improve subprocess output handling for real-time display
2024-09-10 09:34:58 -07:00
Paul Gauthier (aider)
625a49752b
refactor: remove psutil dependency and check parent process only on Windows
2024-09-10 09:30:36 -07:00
Paul Gauthier
e5ff5eff75
refactor: rename and simplify parent process name retrieval function
2024-09-10 09:30:35 -07:00
Paul Gauthier (aider)
cb42464676
style: Reorder imports and format code
2024-09-10 09:28:42 -07:00
Paul Gauthier (aider)
5de0a0f7a9
feat: improve shell detection for Windows environments
2024-09-10 09:28:39 -07:00
Paul Gauthier
765ea801b1
refactor: simplify shell command execution logic
2024-09-10 09:25:50 -07:00
Paul Gauthier (aider)
1327c1e893
style: format command string for PowerShell execution
2024-09-10 06:51:43 -07:00
Paul Gauthier (aider)
4605969921
fix: improve PowerShell command execution and output capture on Windows
2024-09-10 06:51:38 -07:00
Paul Gauthier (aider)
e3b7b80280
feat: respect user's shell environment in subprocess execution
2024-09-10 06:40:07 -07:00
Paul Gauthier
b8ce472cb6
copy
2024-09-09 15:20:36 -07:00
Paul Gauthier
6a0ad9629b
copy
2024-09-09 15:04:37 -07:00