Commit graph

3623 commits

Author SHA1 Message Date
Paul Gauthier
cb547da90c Fixed test_models 2024-04-18 14:53:20 -07:00
Paul Gauthier
f291c8f777 dropped aliases 2024-04-18 14:44:50 -07:00
Paul Gauthier
0da1b59901 Fixed up images in chat 2024-04-18 14:39:32 -07:00
Paul Gauthier
f1c09ececf Switched voice to litellm 2024-04-18 14:13:26 -07:00
Paul Gauthier
cf2a48b21f get_weak_model 2024-04-18 13:55:43 -07:00
Paul Gauthier
93f4a46996 reorg 2024-04-18 09:29:26 -07:00
Paul Gauthier
15c1ad1f96 aider: Create the NoModelInfo class to handle exceptions when model information cannot be retrieved.
# Aider chat conversation:

USER: create the `NoModelInfo` class

ASSISTANT: ```diff
--- aider/models/model.py
+++ aider/models/model.py
@@ ... @@
 from dataclasses import dataclass, fields

 import litellm
+from typing import Optional
 from PIL import Image

 from aider.dump import dump

+class NoModelInfo(Exception):
+    """
+    Exception raised when model information cannot be retrieved.
+    """
+    def __init__(self, message: Optional[str] = None):
+        super().__init__(message or "No model information available.")
+
 @dataclass
 class ModelSettings:
     name: str
```
2024-04-18 09:26:07 -07:00
Paul Gauthier
dd000c6147 Add exception handling when retrieving model info in the Model class constructor. 2024-04-18 09:26:05 -07:00
Paul Gauthier
79170839ee noop 2024-04-18 09:24:18 -07:00
Paul Gauthier
68888faa6f Configure model settings, adopt litellm bugfix 2024-04-18 09:22:32 -07:00
Paul Gauthier
f12bbf1e5b todo 2024-04-17 15:55:55 -07:00
Paul Gauthier
c770fc4380 cleaned up client refs 2024-04-17 15:47:07 -07:00
Paul Gauthier
f1a31d3944 pass in commit models to gitrepo 2024-04-17 15:41:30 -07:00
Paul Gauthier
3662a4680b token pricing 2024-04-17 15:34:59 -07:00
Paul Gauthier
c9bb22d6d5 roughed in tokenizer, dropped openai, openrouter 2024-04-17 15:22:35 -07:00
Paul Gauthier
855e787175 removed skip-model-avail-check 2024-04-17 15:02:39 -07:00
Paul Gauthier
8e0f291a16 undo 2024-04-17 14:15:48 -07:00
Paul Gauthier
b0245d3930 rouged in litellm 2024-04-17 14:15:24 -07:00
Paul Gauthier
93de82c3da fixed regex in .gitignore 2024-04-17 13:31:49 -07:00
Paul Gauthier
176f6272ce Added CONTRIBUTING.md 2024-04-17 12:56:26 -07:00
Paul Gauthier
619cf47f5d Added .gitignore 2024-04-17 12:53:39 -07:00
Paul Gauthier
f6a4b7cbc7 copy 2024-04-17 08:07:37 -07:00
Paul Gauthier
7699866802 Handle missing api key without exception #559 2024-04-15 12:29:49 -07:00
Paul Gauthier
9b2e697584 copy 2024-04-12 08:32:18 -07:00
Paul Gauthier
645a18339e Updated HISTORY 2024-04-12 08:30:47 -07:00
Paul Gauthier
d010ed22de Merge remote-tracking branch 'origin/main' 2024-04-12 08:27:20 -07:00
Paul Gauthier
a84b4f8144 Add the ability to add images that are located outside the git repo #519 2024-04-12 08:26:49 -07:00
Paul Gauthier
c2b8b2355d Handle diffs on a detached head #520 2024-04-12 08:26:49 -07:00
paul-gauthier
63926a43b8
Update faq.md 2024-04-11 16:13:22 -07:00
Paul Gauthier
5c10944054 Abstract the default model name so it applies to scripting #537 2024-04-11 06:42:38 -07:00
paul-gauthier
cf7dfa816e
Merge pull request #545 from a1ooha/patch-1
Fix: use f-string
2024-04-11 06:25:20 -07:00
Aloha
1fc1c304c7
Fix: use f-string 2024-04-11 16:58:10 +08:00
paul-gauthier
04b191a25a
Update README.md 2024-04-10 19:42:55 -07:00
Paul Gauthier
7875418183 fix column order 2024-04-09 18:11:08 -07:00
Paul Gauthier
324655be75 copy 2024-04-09 17:13:12 -07:00
Paul Gauthier
17a1de22e2 copy 2024-04-09 17:06:58 -07:00
Paul Gauthier
f6c5112cc1 copy 2024-04-09 17:00:54 -07:00
Paul Gauthier
c0a6d1d1e5 copy 2024-04-09 16:59:52 -07:00
Paul Gauthier
eea35a3414 copy 2024-04-09 16:57:58 -07:00
Paul Gauthier
00f1cdb561 Added gpt-4-turbo vision blog post 2024-04-09 16:55:35 -07:00
Paul Gauthier
b117c1580c set version to 0.28.1-dev 2024-04-09 16:06:32 -07:00
Paul Gauthier
aa02bd16b5 version bump to 0.28.0 2024-04-09 16:05:54 -07:00
Paul Gauthier
fb620f2258 Updated HISTORY 2024-04-09 16:03:59 -07:00
Paul Gauthier
d66a14fef5 Updated HISTORY 2024-04-09 16:02:07 -07:00
Paul Gauthier
b75fdb92d5 Added gpt-4-turbo-2024-04-09, gpt-4-turbo 2024-04-09 14:24:13 -07:00
Paul Gauthier
3ab49f1df3 set version to 0.27.1-dev 2024-03-22 10:59:17 -07:00
Paul Gauthier
1d5b3c13d3 version bump to 0.27.0 2024-03-22 10:58:42 -07:00
Paul Gauthier
03112ae56d Updated HISTORY 2024-03-22 10:57:43 -07:00
Paul Gauthier
8ec6b853d2 Updated HISTORY 2024-03-22 10:30:32 -07:00
Paul Gauthier
8f98f3b430 Handle languages without tags.scm files #514 2024-03-22 10:14:22 -07:00