Paul Gauthier
2cb4c0d5ab
Updated .env docs
2024-06-18 12:57:19 -07:00
Paul Gauthier (aider)
3c210286ba
Add environment variable information to argparse help text.
2024-06-18 11:35:54 -07:00
Paul Gauthier (aider)
289ab516e9
Added DotEnvFormatter class for formatting .env help text in argparse.
2024-06-18 11:34:46 -07:00
Paul Gauthier
fed0bf55c2
Add support for generating dotenv help text.
2024-06-18 11:34:45 -07:00
Paul Gauthier
5748a575f8
Merge remote-tracking branch 'origin/main'
2024-06-18 11:23:49 -07:00
Paul Gauthier
9e228670a2
append (aider) to author if aider wrote the code
2024-06-18 11:18:52 -07:00
Paul Gauthier
39f10aefe0
Finished removing reliance on aider:
2024-06-18 10:05:10 -07:00
Paul Gauthier
92a28a9b52
wip
2024-06-18 09:59:00 -07:00
John-Mason P. Shackelford
dd6a7964b6
tempdirs in test_main now cleanup without windows errors
2024-06-18 11:57:53 -04:00
John-Mason P. Shackelford
f4e4e3af87
Added check to ensure verbose output contains environment variables set with .env
2024-06-18 11:57:53 -04:00
John-Mason P. Shackelford
75ec0f6266
Added tests to ensure boolean values in .env file are properly handled.
2024-06-18 11:57:52 -04:00
John-Mason P. Shackelford
249109ba9a
All AIDER_* environment vars may now be placed within .env
2024-06-18 11:57:52 -04:00
Paul Gauthier
5a3627de6e
finish removing aider: prefix
2024-06-18 08:37:13 -07:00
Paul Gauthier
0cc00f2a1e
Removed setting and restoring GIT_COMMITTER_NAME in GitRepo class.
2024-06-18 08:15:02 -07:00
Paul Gauthier
5a5783304e
aider: Added a test for committing with a custom committer name.
2024-06-18 08:12:30 -07:00
Paul Gauthier
40c28ff7d8
aider: Set committer name to include "aider" and restore original committer name after commit.
2024-06-18 08:11:54 -07:00
Paul Gauthier
01242b256c
Set committer name to include "aider" and restore original committer name after commit.
2024-06-18 08:11:53 -07:00
paul-gauthier
a596a32290
Merge pull request #631 from daniel-vainsencher/dvf_llm_log
2024-06-17 13:58:46 -07:00
paul-gauthier
fab14fcd8b
Merge pull request #671 from nicolasperez19/fix-url-playwright-typo
2024-06-17 13:56:16 -07:00
Paul Gauthier
ca8672bc90
set version to 0.38.1-dev
2024-06-16 20:57:50 -07:00
Paul Gauthier
9890f9d97e
version bump to 0.38.0
2024-06-16 20:57:10 -07:00
Paul Gauthier
48d86a9481
updated history; restored YAMLConfigFileParser
2024-06-16 20:56:12 -07:00
Paul Gauthier
5c87008bd0
Updated HISTORY
2024-06-16 12:16:19 -07:00
Paul Gauthier
45e27af589
restored editblock_prompt
2024-06-16 12:09:20 -07:00
Paul Gauthier
80458f9b0a
fixed token limits url
2024-06-14 07:31:18 -07:00
Paul Gauthier
a30e656304
improved token limit err msgs and docs #678
2024-06-14 07:28:33 -07:00
Paul Gauthier
0fc6b9beaa
copy
2024-06-14 06:16:56 -07:00
Daniel Vainsencher
3e9f6dcca2
Merge branch 'main' into dvf_llm_log
2024-06-12 18:32:48 -04:00
Daniel Vainsencher
c40b3fa310
Review comments
2024-06-12 18:28:55 -04:00
Paul Gauthier
a07492b90a
moved --vim to Other Settings
2024-06-12 11:30:26 -07:00
Nicolas Perez
abeb9f4d84
fix: enable_playwright
url had a typo
2024-06-12 02:32:50 -04:00
Krazer
486c5ce65c
add support to load/override model settings
2024-06-11 17:15:48 -05:00
Paul Gauthier
6216a273fe
drop context at the caller
2024-06-11 13:33:46 -07:00
Paul Gauthier
fb3cc98da5
cleanup --model-metadata-file
2024-06-11 13:30:35 -07:00
paul-gauthier
2f6e360188
Merge pull request #666 from caseymcc/register_model
...
Allow models to be registered with litellm
2024-06-11 13:20:02 -07:00
Paul Gauthier
ba1ae76fc0
Merge remote-tracking branch 'origin/main'
2024-06-11 13:19:11 -07:00
Paul Gauthier
20f730a673
stop including chat conversation in commits
2024-06-11 13:19:02 -07:00
Krazer
568d72ebe8
update docs
2024-06-11 14:09:45 -05:00
Krazer
58965a9cff
minor output change
2024-06-11 13:48:50 -05:00
paul-gauthier
9382fa1091
Merge pull request #629 from youknow04/main
2024-06-11 11:44:04 -07:00
Krazer
a1b5f98d02
remove print
2024-06-11 13:41:29 -05:00
Krazer
a090de6a00
add change requests
2024-06-11 13:39:55 -05:00
Krazer
f3b5eae778
remove duplicates
2024-06-11 13:30:18 -05:00
Krazer
d819d52f82
add current directory
2024-06-11 13:18:43 -05:00
Krazer
acccbb1512
update command line arg
2024-06-11 13:14:22 -05:00
Krazer
d91707f73e
all models to be registered with litellm
2024-06-11 13:07:19 -05:00
Paul Gauthier
dece830cb8
wait up to 5sec
2024-06-11 06:37:41 -07:00
Paul Gauthier
4ebc35e038
aider: Set a maximum timeout of 5 seconds for page.goto
in the scrape_with_playwright
method.
...
# Aider chat conversation:
USER: set a max timeout of 5sec for page.goto
ASSISTANT: To set a maximum timeout of 5 seconds for `page.goto`, we need to modify the `scrape_with_playwright` method in `aider/scrape.py`.
Here is the *SEARCH/REPLACE* block:
aider/scrape.py
```python
<<<<<<< SEARCH
page.goto(url, wait_until="networkidle")
=======
page.goto(url, wait_until="networkidle", timeout=5000)
>>>>>>> REPLACE
```
2024-06-11 06:36:35 -07:00
Paul Gauthier
337891e739
aider: Modified scrape_with_playwright
method to wait for network to be idle before extracting content.
...
# Aider chat conversation:
USER: with playwright enabled, i get: You need to enable JavaScript to run this app.
ASSISTANT: To address the issue of JavaScript not being enabled, we need to ensure that Playwright is properly executing JavaScript on the page. This can be done by waiting for the page to load completely and ensuring that JavaScript is executed.
We will modify the `scrape_with_playwright` method to wait for the network to be idle and ensure that the page is fully loaded before extracting the content.
Here are the changes:
aider/scrape.py
```python
<<<<<<< SEARCH
page.goto(url)
=======
page.goto(url, wait_until="networkidle")
>>>>>>> REPLACE
```
This change will ensure that Playwright waits for the network to be idle, which typically means that all JavaScript has been executed and the page is fully loaded.
2024-06-11 06:35:00 -07:00
Paul Gauthier
a17b81236c
Add content dumping functionality to the Scraper class.
2024-06-11 06:34:58 -07:00