Commit graph

183 commits

Author SHA1 Message Date
Paul Gauthier
99a75ac213 feat: Add streaming option to ModelSettings 2024-09-12 14:47:18 -07:00
Paul Gauthier
fb420de09e feat: Add new model settings for openai/o1-preview and o1-preview 2024-09-12 14:42:52 -07:00
Paul Gauthier
1755d2e0f4 fix: Use temperature setting from model configuration 2024-09-12 14:24:21 -07:00
Paul Gauthier
8aee4d25ed add ModelSettings.use_system_prompt 2024-09-12 14:19:53 -07:00
Jay Alammar
7315624b98 bugfix 2024-09-11 10:55:45 -04:00
Jay Alammar (aider)
df33498cad fix: correct syntax error by removing extra closing parenthesis in ModelSettings definition 2024-09-06 17:07:32 -04:00
Jay Alammar (aider)
d85979e1fb fix: correct syntax error by fixing misplaced parenthesis in ModelSettings entries 2024-09-06 17:07:23 -04:00
Jay Alammar (aider)
74f1ceff93 fix: resolve syntax error by removing extra closing parenthesis in model settings list 2024-09-06 17:07:16 -04:00
Jay Alammar (aider)
68bd2b75c6 refactor: group Cohere models together in the model settings list 2024-09-06 17:06:51 -04:00
Jay Alammar (aider)
5344052aeb feat: add support for new Cohere models command-r-08-2024 and command-r-plus-08-2024 2024-09-06 17:06:11 -04:00
fry69
795810ffb8 fix: update model configurations 2024-09-06 13:44:42 +02:00
Paul Gauthier
f02da16353 set max_tokens=8192 for deepseek models 2024-09-05 11:58:20 -07:00
Paul Gauthier
9348a10aaf copy 2024-09-03 15:48:37 -07:00
Paul Gauthier
dff814a7a8 refactor: change tool_error to tool_warning for non-critical messages 2024-09-03 13:30:04 -07:00
Paul Gauthier
013dac288c feat: add user confirmation for model warnings 2024-08-30 08:28:21 -07:00
Paul Gauthier
725b06acd6 fixes #1240 2024-08-30 07:15:43 -07:00
Paul Gauthier
b0d06e13fe be very conservative with get_model_info if model not found 2024-08-28 13:04:00 -07:00
Paul Gauthier
af6ae8da8a restore json 2024-08-28 12:17:40 -07:00
Paul Gauthier (aider)
e1d4e81194 style: reorder imports in aider/models.py 2024-08-28 12:03:30 -07:00
Paul Gauthier (aider)
59b6a64687 feat: use json5 for loading litellm models 2024-08-28 12:03:26 -07:00
Paul Gauthier
2f35a41449 remove send_undo_reply=True 2024-08-28 06:41:43 -07:00
Paul Gauthier (aider)
12bb17fe63 feat: add ModelSettings for gemini/gemini-1.5-flash-exp-0827 with whole edit format 2024-08-28 06:35:38 -07:00
Paul Gauthier (aider)
14d13a7acc feat: add ModelSettings for gemini/gemini-1.5-pro-exp-0827 2024-08-28 06:35:04 -07:00
Paul Gauthier
4705136951 fix: Add caching by default for deepseek coder. 2024-08-27 06:12:55 -07:00
Paul Gauthier
ec6e23a852 feat: Add flexible model lookup in get_model_info 2024-08-27 06:08:24 -07:00
Paul Gauthier (aider)
2e573af1d8 style: Fix formatting in models.py 2024-08-26 14:40:29 -07:00
Paul Gauthier (aider)
b51b5cf12d feat: Display environment variables status when showing missing variables 2024-08-26 14:40:25 -07:00
Paul Gauthier
59ae9d9daf turn off openrouter referer special case for sonnet 2024-08-26 12:20:50 -07:00
Paul Gauthier
7ba798647f restore the reminder for sonnet 2024-08-25 09:56:32 -07:00
Paul Gauthier
f4d81f3473 url 2024-08-25 09:53:00 -07:00
Paul Gauthier (aider)
6401c1653a fix: Remove unused importlib import 2024-08-25 09:39:31 -07:00
Paul Gauthier
b67914d74e fix: Improve model info caching and fallback logic 2024-08-25 09:39:26 -07:00
Paul Gauthier
b7a9925cea fix: Remove unused import 'requests' from 'aider/models.py' 2024-08-25 08:22:20 -07:00
Paul Gauthier (aider)
29bb70d407 style: Run linter 2024-08-25 08:19:19 -07:00
Paul Gauthier (aider)
5473d99e13 refactor: Extract get_model_info into a standalone function 2024-08-25 08:19:15 -07:00
Paul Gauthier
539a657624 feat: Add support for making HTTP requests in the Model class 2024-08-25 08:19:14 -07:00
Paul Gauthier (aider)
5e8f9f72cc fix: Flip logic in get_model_info 2024-08-25 07:57:20 -07:00
Paul Gauthier (aider)
2570a4d193 style: Format code with black 2024-08-25 07:55:08 -07:00
Paul Gauthier (aider)
7f1f2cb7ba feat: Add safe_read_json and safe_write_json functions to aider/utils.py 2024-08-25 07:55:02 -07:00
Paul Gauthier (aider)
fb812acfe1 feat: cache the fetched json in Path.home() / .aider / caches 2024-08-25 07:54:44 -07:00
Paul Gauthier (aider)
5e50adb96f fix: Split long URL into multiple lines to adhere to line length limit 2024-08-25 07:53:03 -07:00
Paul Gauthier (aider)
225cb93b05 style: Fix formatting in aider/models.py 2024-08-25 07:52:51 -07:00
Paul Gauthier (aider)
bd30ae936c feat: Fetch model info from GitHub first, then fall back to local resource 2024-08-25 07:52:48 -07:00
Paul Gauthier (aider)
63c6bffb46 fix: Remove unused Path import from aider/models.py 2024-08-25 07:51:31 -07:00
Paul Gauthier (aider)
6d7a6ccee3 fix: use importlib.resources.open_text() to read JSON file in get_model_info 2024-08-25 07:50:58 -07:00
Paul Gauthier
59bef7cb1c feat: Inherit Model class from ModelSettings 2024-08-23 15:18:10 -07:00
Paul Gauthier
5c7707a51a no user remind 2024-08-20 17:55:26 -07:00
Paul Gauthier
919ea05482 ignore shell edits in base coder 2024-08-20 17:50:31 -07:00
Paul Gauthier
c13b277070 ModelSettings.reminder_as_sys_msg:true/false -> reminder:sys/user/None 2024-08-20 10:51:37 -07:00
Paul Gauthier
b8d09e1f04 load litellm if model metadata json is present 2024-08-19 10:37:49 -07:00