Commit Graph

222 Commits

Author SHA1 Message Date
Charles Packer
5f9210b808 fix(core): update default value [LET-4117] (#4321)
* fix(core): update default value

* fix: just stage just publish

* fix(core): temporary hardcoding of the anthropic max tokens

* fix(core): patch the gemini
2025-08-29 16:42:19 -07:00
Kian Jones
fecf6decfb chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
cthomas
89932ff90c feat: clean up legacy deepseek api call logic [LET-4087] (#4275)
feat: clean up legacy deepseek api call logic

Co-authored-by: Shubham Naik <shub@letta.com>
2025-08-28 11:12:28 -07:00
cthomas
3dd5747627 feat: move deepseek to new agent loop [LET-4081] (#4266)
* feat: move deepseek to new agent loop

* fixes
2025-08-27 16:50:34 -07:00
cthomas
5ade6bb236 fix: gemini flash integration test [LET-4060] (#4242)
* fix: gemini flash integration test

* also update google flash

* catch error in test

* revert test changes

* do try catch again

* remove try catch from streaming tests

* add try catch for summarize test also
2025-08-27 11:59:15 -07:00
cthomas
e190574a24 fix: hugging face embedding test [LET-4064] (#4246)
* fix: hugging face embedding test

* openapi sync
2025-08-27 11:58:03 -07:00
cthomas
11b447a02b feat: add gating to provider trace persistence in db (#4223)
* feat: make provider trace fetch result nullable

* feat: add flag for persisting provider trace to db
2025-08-26 15:58:26 -07:00
cthomas
e939407494 feat: add new llm client for deepseek [LET-4056] (#4219)
feat: add new llm client for deepseek
2025-08-26 15:14:09 -07:00
Kevin Lin
f71bbfb41e fix: patch anthropic send message tests (#4173)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-25 21:17:08 -07:00
Kevin Lin
23eb087759 fix: pass thinking to anthropic client (#4150) 2025-08-25 13:36:55 -07:00
jnjpng
74029acb0d fix: mcp schema generation and non-strict schema validation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 15:45:33 -07:00
cthomas
269c536530 feat: add new groq llm client LET-3943 (#3937)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-21 13:13:25 -07:00
cthomas
c7b71ad8a9 feat: add new xai llm client (#3936) 2025-08-20 15:49:09 -07:00
cthomas
8e49d1a637 feat: improve error message for vertex response parsing (#4043) 2025-08-20 09:52:20 -07:00
jnjpng
0334fabc96 fix: include google_ai model endpoint type when setting reasoning tokens for google reasoning models
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-19 14:58:35 -07:00
cthomas
05e8507f94 feat: always override thinking budget for anthropic if not min (#4019) 2025-08-19 14:54:11 -07:00
jnjpng
fb474c4ac9 fix: require function declarations to be present for setting gemini tool config
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-19 12:56:31 -07:00
Sarah Wooders
8417a7f54d fix: patch openai byok (#3966) 2025-08-16 13:41:48 -07:00
Kevin Lin
a22d6b1315 feat: GPT-5 support (#3924)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-15 19:01:50 -07:00
Charles Packer
b0f335bb69 feat: fix anthropic stream buffering issue (was a missing beta header) (#3933) 2025-08-14 22:26:56 -07:00
cthomas
a5454d0909 fix: azure client imports (#3916) 2025-08-14 10:36:08 -07:00
cthomas
1ef6e1ee41 chore: delete legacy azure client (#3911) 2025-08-13 16:24:47 -07:00
cthomas
63738ffa0c chore: delete legacy bedrock client (#3912) 2025-08-13 16:20:48 -07:00
cthomas
cdd4815af4 chore: fully sunset cohere (#3910) 2025-08-13 16:05:06 -07:00
cthomas
2fbcbd765a chore: delete legacy anthropic client (#3908) 2025-08-13 15:53:27 -07:00
cthomas
48f78991a8 chore: clean up legacy bedrock path (#3906) 2025-08-13 15:26:27 -07:00
cthomas
edf39c565f chore: clean up legacy anthropic path (#3905) 2025-08-13 15:09:13 -07:00
cthomas
15d8cc224c chore: clean up legacy azure path (#3904) 2025-08-13 14:59:15 -07:00
cthomas
c72eced19e chore: clean up legacy together path (#3903) 2025-08-13 14:48:24 -07:00
cthomas
9054919eba feat: update imports for byok check api (#3890) 2025-08-12 16:36:14 -07:00
cthomas
78cfb4902d feat: add azure byok (#3884) 2025-08-12 15:50:00 -07:00
cthomas
65baf757a7 feat: add azure llm client (#3882) 2025-08-12 14:43:03 -07:00
cthomas
9f84fb8500 feat: refactor byok logic in llm clients (#3880) 2025-08-12 14:19:02 -07:00
cthomas
a328cbd607 feat: add together byok support (#3877) 2025-08-12 13:44:01 -07:00
cthomas
2e19f2a801 feat: add new together llm client (#3875) 2025-08-12 13:37:20 -07:00
Matthew Zhou
6c64c8afdd fix: Fix error messages with malformed gemini call (#3865) 2025-08-11 16:59:19 -07:00
cthomas
5cf807574f feat: consolidate reasoning model checks (#3862) 2025-08-11 16:55:45 -07:00
jnjpng
243a2b65e0 fix: gemini 2.5 thinking models fail to call functions if thinking is fully disabled
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-08 16:34:32 -07:00
Sarah Wooders
bde4714294 chore: merge oss (#3712) 2025-08-07 22:20:26 -07:00
Sarah Wooders
b85f8aa43c feat: support opus 4.1 and gpt-5 (#3806) 2025-08-07 15:11:57 -07:00
Matthew Zhou
76c9a58d6f feat: Support streaming and move endpoint for letta-free (#3780) 2025-08-06 15:33:35 -07:00
Sarah Wooders
c2b2d976b6 feat: move ollama to new agent loop (#3615) 2025-07-31 13:40:26 -07:00
Andy Li
c22b9c1af5 chore: remove excessive warning logging 2025-07-30 14:10:41 -07:00
jnjpng
9d8a122da0 fix: lmstudio support for qwen and llama
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-07-29 15:57:20 -07:00
jnjpng
04511d1ffc feat: allow mcp authentication overrides per agent (#3318)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-28 18:20:58 -07:00
Matthew Zhou
d77eb1230f feat: Add ability to disable reasoning (#3594) 2025-07-28 15:30:10 -07:00
Andy Li
58081e3cea feat: support for providers 2025-07-22 16:09:50 -07:00
Andy Li
04e9f43220 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
Eric Ly
396f37156c feat: create 'test connection' bedrock api + fix endpoints for test connection (ant, openai, gemini) (#3227)
Co-authored-by: Eric Ly <lyyeric@letta.com>
2025-07-17 11:39:46 -07:00
Charles Packer
12c2b49461 fix: add frequency penalty for gpt-4o-mini (#3166) 2025-07-06 11:05:31 -07:00