Commit Graph

90 Commits

Author SHA1 Message Date
cthomas
694be7b136 feat: support filtering out approval messages for gemini (#2833) 2025-09-11 00:26:24 -07:00
Matthew Zhou
531eb6afeb feat: Add project_id to message filtering/inserting to Turbopuffer [LET-4252] (#4466)
* Add project_id

* Fern autogen
2025-09-08 14:35:15 -07:00
Matthew Zhou
fb0e2d91a2 feat: Write tests for search messages [LET-4212] (#4447)
* Adjust naming

* Add testing and improve message search

* Adjust comments

* Change query text to query

* Fern autogen
2025-09-05 17:52:13 -07:00
Matthew Zhou
2e3cabc080 feat: Add search messages endpoint [LET-4144] (#4434)
* Add search messages endpoint

* Run fern autogen and fix tests
2025-09-05 14:28:27 -07:00
cthomas
5ca9b5e774 feat: support filtering out approval messages for anthropic api (#4342) 2025-09-01 21:39:50 -07:00
cthomas
3f87fc34f2 feat: handle message persistence for approvals flows (#4338) 2025-09-01 14:10:02 -07:00
cthomas
7c88470705 feat: support filtering out messages when converting to openai dict (#4337)
* feat: support filtering out messages when converting to openai dict

* fix imports
2025-09-01 12:48:45 -07:00
cthomas
671f561c77 feat: support approve tool call request (#4333) 2025-08-31 11:26:21 -07:00
cthomas
cc376b32ed feat: add support for approval request creation (#4313) 2025-08-29 15:23:02 -07:00
cthomas
697be58b78 feat: make new message create type field optional [LET-4116] (#4319)
feat: make new message create type field optional
2025-08-29 15:22:34 -07:00
cthomas
bfdb586f74 feat: add approval create input to messages endpoints [LET-4110] (#4309)
* feat: add approval create input to messages endpoints

* rename discriminator tag

* add base class with default

* add field validator

* exclude new type field from agent file schema
2025-08-29 13:16:03 -07:00
cthomas
7c51a4f084 refactor: port letta message conversion into helpers (#4302)
* refator: port letta message conversion into helpers

* fix naming

* use extend not append

* add otid handling
2025-08-29 13:02:46 -07:00
Kian Jones
ca6cfa5914 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
Kevin Lin
1c3781f68d 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
80ea4a0608 fix: pass thinking to anthropic client (#4150) 2025-08-25 13:36:55 -07:00
Matthew Zhou
cbec520729 feat: Add basic test serialization tests (#4076) 2025-08-21 11:08:06 -07:00
cthomas
591fa49073 chore: fully sunset cohere (#3910) 2025-08-13 16:05:06 -07:00
Andy Li
94d10589c8 fix: structured outputs for send_message, LettaMessage 2025-07-24 14:50:52 -07:00
Andy Li
eb3babc687 feat: ade support for showing errored messages in ade 2025-07-21 13:03:20 -07:00
cthomas
cadc040f42 feat: remove organization from pydantic message model (#3411) 2025-07-19 09:28:54 -07:00
Andy Li
b7b678db4e feat: stop reasons and error messages and sentry fixes 2025-07-18 11:56:20 -07:00
Matthew Zhou
8958f266ad feat: Establish agent file schema v2 and achieve feature parity with v1 (#3235) 2025-07-16 14:49:20 -07:00
Charles Packer
d2f5bb676f fix: patch bug will None content when assistant messages have no tool calls (#3172) 2025-07-06 15:24:45 -07:00
Charles Packer
bbcc948213 fix: fix pywright lint errors caused by bad use of pydantic (#3170) 2025-07-06 12:58:21 -07:00
cthomas
6a23bc743d feat: support multi content part input (#2717) 2025-06-10 13:36:17 -07:00
cthomas
2823e4447a feat: add multi-modal input support (#2590) 2025-06-08 18:28:01 -07:00
cthomas
ad82399722 fix: tool return message packing in stream (#2586) 2025-06-02 13:52:38 -07:00
cthomas
6b602727f6 fix: missing ToolReturnContent import (#2413) 2025-05-24 09:42:24 -07:00
Andy Li
595ef11221 fix: numerous tool execution bugs (#2371) 2025-05-23 18:02:15 -07:00
Sarah Wooders
34df96bf2c feat: add MCP servers into a table and MCP tool execution to new agent loop (#2323)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-05-23 16:22:16 -07:00
cthomas
d67c425532 test: add additional new agent messaging tests (#2120) 2025-05-12 15:58:52 -07:00
Andy Li
abd3fb3204 chore: enable vertex experimental (#2053)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-05-07 14:52:26 -07:00
Matthew Zhou
f23602d919 feat: Add message listing for a letta batch (#1982) 2025-05-02 11:14:03 -07:00
cthomas
b3937045c5 fix: invert name regex check for openai (#1983) 2025-05-02 10:56:34 -07:00
cthomas
9722596a74 feat: add step id on letta message (#1974) 2025-05-01 11:21:59 -07:00
cthomas
5b265edb7b fix: openai illegal char in name check (#1971) 2025-05-01 11:03:34 -07:00
Matthew Zhou
84f2b2107e feat: Adjust ephemeral memory agent to become persisted sleeptime agent (#1943) 2025-04-30 11:14:19 -07:00
Shangyin Tan
cd508cbb6b fix: allow initial_message_sequence to have assistant message (#1729)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Kevin Lin <kl2806@columbia.edu>
Co-authored-by: Kevin Lin <klin5061@gmail.com>
2025-04-29 14:42:34 -07:00
cthomas
06f019a886 fix: pass name param to llm payload (#1878) 2025-04-24 10:28:59 -07:00
Charles Packer
e1fa7f0b40 fix: patch o-series (#1699) 2025-04-23 13:41:34 -07:00
cthomas
128989820a feat: unify input message type on agent step (#1820) 2025-04-21 13:49:46 -07:00
cthomas
cd94962882 fix: anthropic streaming (#1768)
Co-authored-by: Kevin Lin <klin5061@gmail.com>
2025-04-17 16:22:14 -07:00
cthomas
eaf9af3d03 feat: add identity id to message model (#1700) 2025-04-14 16:50:37 -07:00
Sarah Wooders
1dbf6cd4e5 feat: translate system to developer or o-series models (#1692)
Co-authored-by: cpacker <packercharles@gmail.com>
2025-04-11 21:59:48 -07:00
Charles Packer
9f7285fdb6 fix: patch incorrect use of name in function response (#1642) 2025-04-09 14:20:57 -07:00
Charles Packer
957fa01b04 fix: use safer json.loads alternative from utils (discord issue) (#1611) 2025-04-08 10:58:57 -07:00
cthomas
9458f40d05 feat: add otid field for message idempotency (#1556) 2025-04-04 08:43:01 -07:00
cthomas
b57202f18b fix: anthropic thinking tag nesting bug (#1548) 2025-04-03 11:51:08 -07:00
cthomas
3dd3242c6d fix: anthropic system event parse (#1471) 2025-03-31 09:49:15 -07:00
cthomas
df899ee05b fix: anthropic system message parse (#1467) 2025-03-30 18:44:55 -07:00