Commit graph

223 commits

Author SHA1 Message Date
Paul Gauthier
888211fd48 use litellm's new supports_assistant_prefill 2024-08-12 15:10:02 -07:00
Paul Gauthier
0a5b5c3fd6 fix: Fix token_count method to handle list of messages 2024-08-07 13:13:10 -03:00
Paul Gauthier (aider)
f1bd90c024 style: Fix import order in aider/models.py 2024-08-07 11:42:37 -03:00
Paul Gauthier (aider)
f16564994f feat: use constants from llm.py in models.py 2024-08-07 11:42:34 -03:00
Paul Gauthier
19ad89e1d7 Added gpt-4o-2024-08-06 2024-08-07 11:26:15 -03:00
Paul Gauthier
0e14014118 restore openrouter attribution with extra_headers 2024-08-07 11:24:37 -03:00
Paul Gauthier
e48fecee14 fix: Handle missing model info values gracefully 2024-08-07 07:45:39 -03:00
Paul Gauthier
f059505edf Do fast env validation if models start with openai/ anthropic/ 2024-08-06 15:30:43 -03:00
Paul Gauthier
ed9ed895d0 Added ModelSettings for openai/gpt-4o-2024-08-06 2024-08-06 15:28:53 -03:00
Thinh Nguyen
736d354280
Disable 8k token for vertex_ai/claude-3-5-sonnet 2024-08-02 12:03:01 -07:00
Paul Gauthier
5e818c2899 support 8k output with 3.5 sonnet 2024-08-01 17:52:14 -03:00
Paul Gauthier (aider)
32d82b3175 feat: Use ModelSettings to set defaults in Model.__init__ 2024-08-01 17:31:13 -03:00
Paul Gauthier
3c5d08920f Use the main model as a fallback for commit messages 2024-07-28 17:14:30 -03:00
Paul Gauthier
b7eaa0fe7c Show the correct did-you-mean models #917 2024-07-22 17:24:30 +02:00
Paul Gauthier
bd6cedf70b Use 4o-mini as the weak model instead of 3.5-turbo 2024-07-18 20:42:24 +01:00
Paul Gauthier
18b2995527 gpt-4o-mini 2024-07-18 20:03:32 +01:00
Paul Gauthier
50353acb1a return fq and model names mixed together from fuzzy match 2024-07-14 18:26:05 +01:00
Paul Gauthier
edcf66c694 Added missing Model.can_prefill 2024-07-14 17:41:21 +01:00
Paul Gauthier
e92a1a662d Only show the fq model name for --models #812 2024-07-12 17:05:11 +01:00
Paul Gauthier
9d02628cf8 streamlit borks sys.path, causes import("litellm") to load our litellm.py; fix 2024-07-03 21:32:50 -03:00
Paul Gauthier
362eb1aa07 Fix bad Model.info #788 2024-07-03 16:56:15 -03:00
Paul Gauthier
2fc358a02f Defer litellm import until first chat message; only import streamlit if gui is activated 2024-07-03 13:04:13 -03:00
Paul Gauthier
ee203deef0 Lazily import litellm to shave >1sec off the initial load time of aider 2024-07-03 12:45:53 -03:00
Paul Gauthier
02db0e0ed7 add visison support to openrouter gpt-4o 2024-07-01 11:28:31 -03:00
Mitsuki Ogasahara
590ec41993 feat: add image support for Claude 3.5 2024-07-01 22:05:50 +09:00
Paul Gauthier
a3fe3c4dcf cleanup 2024-06-27 15:36:01 -07:00
Paul Gauthier
e3805350c9 Added can_prefill metadata to the anthropic models 2024-06-27 15:22:16 -07:00
Paul Gauthier
dac12e342b wip 2024-06-27 15:05:42 -07:00
Paul Gauthier
ea97d08449 Handle null model.info max_input_tokens 2024-06-25 20:37:19 -07:00
Paul Gauthier
17f7297d86 updated model warnings and docs 2024-06-25 14:56:02 -07:00
Paul Gauthier
42fbe28897 examples_as_sys_msg for sonnet gets 100% compliance on exercism eval 2024-06-24 11:03:29 -07:00
paul-gauthier
b6fa02044f
Merge branch 'main' into register_settings 2024-06-21 16:57:33 -07:00
Paul Gauthier
4fed045f27 Added vertex_ai/claude-3-sonnet@20240229, bumped deps to upgrade litellm #704 2024-06-21 16:50:49 -07:00
paul-gauthier
8a91e8822f
Merge pull request #703 from spdustin/add-claude-models 2024-06-21 09:35:36 -07:00
Dustin Miller
6bd325e432 Add support for vertex_ai/claude_* models 2024-06-21 11:31:16 -05:00
Paul Gauthier
4fd61f1112 More flexible filename search for deepseek coder v2 2024-06-21 08:51:53 -07:00
Paul Gauthier
b330a87339 Updated HISTORY 2024-06-20 14:23:10 -07:00
Paul Gauthier
090e0cdcfe Added 3.5 sonnet 2024-06-20 08:26:35 -07:00
Krazer
486c5ce65c add support to load/override model settings 2024-06-11 17:15:48 -05: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
Krazer
a090de6a00 add change requests 2024-06-11 13:39:55 -05:00
Krazer
d91707f73e all models to be registered with litellm 2024-06-11 13:07:19 -05:00
Paul Gauthier
470b8d0251 Show model warnings in normal color, not red/error 2024-06-10 15:23:33 -07:00
Paul Gauthier
1f1da4b1a2 refac all urls into urls.py 2024-06-08 12:53:54 -07:00
Paul Gauthier
0e5342fdb8 copy 2024-06-06 11:01:27 -07:00
Paul Gauthier
72613f3b27 switch naming from openai/gpt-4o to gpt-4o 2024-05-15 06:25:30 -07:00
Paul Gauthier
bfba56c5f1 added 4o as default 2024-05-13 10:57:26 -07:00
Paul Gauthier
b6cd852124 added openai/ prefix 2024-05-13 10:36:07 -07:00
Paul Gauthier
7b19f767fc Added gpt-4o 2024-05-13 10:33:08 -07:00