Commit Graph

3879 Commits

Author SHA1 Message Date
Kian Jones
bb8a8f335c migrate to core only 2025-09-09 09:35:12 -07:00
Kian Jones
1881fcc89d migrate fern 2025-09-09 09:35:12 -07:00
Kian Jones
0c5f5dadb8 ruff check 2025-09-09 09:35:10 -07:00
Kian Jones
db52d765a9 add fern python preview 2025-09-09 09:33:59 -07:00
Kian Jones
e876dd8b36 remove code_style_checks and add alembic validation 2025-09-09 09:33:59 -07:00
Kian Jones
b66b6f232e make core-lint dir agnostic 2025-09-09 09:33:59 -07:00
Kian Jones
ee64be4555 remove fern check 2025-09-09 09:33:59 -07:00
Kian Jones
60c9e3efad Merge branch 'main' into release-0.11.8-3 2025-09-09 09:23:31 -07:00
cthomas
6434c4c2d2 fix: missing actor in sleeptime loop (#4498) 2025-09-09 00:43:04 -07:00
cthomas
9120dd5308 feat: conditionally record step metrics (#4497) 2025-09-09 00:35:03 -07:00
cthomas
82192dee44 feat: handle streaming for hitl in new agent loop (#4496) 2025-09-09 00:27:44 -07:00
cthomas
a0c4f086d0 feat: add check before logging step metrics (#4495) 2025-09-09 00:02:21 -07:00
cthomas
5085dc3f65 fix: async generator return type (#4494) 2025-09-08 23:44:19 -07:00
cthomas
33a03daf1f fix: add llm adapter to build request method (#4493) 2025-09-08 23:38:59 -07:00
cthomas
05d5b53b29 feat: always break when step is finished (#4492) 2025-09-08 23:37:36 -07:00
cthomas
11a8b0f3e7 test: skip step stream error case temporarily (#4491) 2025-09-08 23:27:07 -07:00
cthomas
e132d6c6ca feat: break out of summary retry loop when no exception (#4490) 2025-09-08 23:20:10 -07:00
cthomas
7d85742f22 fix: use id instead of step id for metrics (#4489) 2025-09-08 22:54:43 -07:00
cthomas
dd0b3c065a feat: add template id to create message (#4488) 2025-09-08 22:53:18 -07:00
cthomas
31713866f0 fix: add range to for loop (#4487) 2025-09-08 22:43:33 -07:00
cthomas
b9616c1030 feat: migrate sleeptime to new agent loop (#4485)
* feat: migrate sleeptime to new agent loop

* only load agent state when needed
2025-09-08 22:25:01 -07:00
Matthew Zhou
0004ba8503 feat: Fix alembic migration for vector db type on sources for pg8000 driver (#4482)
Add commit after as well
2025-09-08 19:50:49 -07:00
Matthew Zhou
3a551f4bb7 feat: Add turbopuffer embedder by default [LET-4253] (#4476)
* Adapt to turbopuffer embedder

* Make turbopuffer search more efficient over all source ids

* Combine turbopuffer and pinecone hybrid

* Fix test sources
2025-09-08 18:46:41 -07:00
Matthew Zhou
ae7d08b2f5 feat: Add error handling callback [LET-4258] (#4481)
Add error handling callback
2025-09-08 18:45:03 -07:00
Matthew Zhou
20881b3383 feat: Surface vector db in source object [LET-4257] (#4479)
* Surface vector db

* Change default

* Fern autogen

* Fix sqlite test managers
2025-09-08 18:08:55 -07:00
cthomas
6a9eb16f4e feat: add summarization retry to new agent loop (#4477) 2025-09-08 17:41:48 -07:00
Matthew Zhou
73e8ee73fc feat: Robustify openai embedding [LET-4256] (#4478)
* Robustify embedding

* Remove unecessary imports

* Add test embeddings
2025-09-08 17:18:54 -07:00
cthomas
5eca45cb56 chore: bump sdk client version (#4474) 2025-09-08 16:51:19 -07:00
cthomas
e06d9cbb8f feat: add error handling parity to new agent loop (#4471) 2025-09-08 16:35:24 -07:00
cthomas
304b8de32a feat: consolidate stream methods for new agent loop (#4468) 2025-09-08 15:20:36 -07:00
jnjpng
52b7895b16 feat: add encryption key to settings [LET-4245]
add encryption key to settings

Co-authored-by: Letta Bot <noreply@letta.com>
2025-09-08 15:14:34 -07:00
Matthew Zhou
8b9a5e3ddb feat: Add vector db type column to source [LET-4203] (#4469)
* Add vector db type column to source

* Add comments
2025-09-08 15:09:29 -07:00
jnjpng
e4264ca120 feat: add secret encryption keys [LET-3662]
* base

* add to apps/core

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-09-08 14:52:20 -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
f5be308f54 feat: Fix race condition with creating archival memories in parallel [LET-4205] (#4464)
* Test archive manager and add race condition handling

* Fix client tests

* Remove bad test
2025-09-08 12:01:35 -07:00
cthomas
0360ceeecc feat: add step checkpointing for progress tracking (#4458)
* feat: add step checkpointing for progress tracking

* openapi sync
2025-09-08 10:30:44 -07:00
Kian Jones
9c0fa03e80 feat(monitoring): Add Datadog Monitoring for all k8s metrics + logs, and add dd-agent to VMs (#4441)
* swap EXA_API_KEY in CI, add DD_API_KEY to CI, add dd-agent to CI runners, and codify datadog agent config from kubernetes (also enable k8s logging)

* actually set exa api key properly

* actually fix it

* fix 'site' bug and change tags better

* fix 'site' bug and change tags better

* fix lmstudio post uv migration

* sync lmstudio to oss

* install dd after secres available

* move dd installation to startup script
2025-09-08 10:17:36 -07:00
cthomas
39e4e4227d feat: add agent_step span updates to new agent loop (#4457) 2025-09-06 14:04:01 -07:00
Charles Packer
3442b52cf7 fix(core): patch the error throwing for HITL [LET-4218] (#4455)
fix: patch the error throwing for HITL
2025-09-06 11:45:46 -07:00
Charles Packer
9bbe7ecb3e feat: various performance patches for gpt-5 [LET-4157] (#4381)
* feat: increase the verbosity of the heartbeat kwarg

* chore: strip docstrings out from the file in which they are not parsed (duplicates inside base.py

* feat: add examples to the docstrings for memory_replace and memory_insert

* feat: add more examples
2025-09-06 11:23:13 -07:00
Charles Packer
91d5a41c3e fix: Add approval messages to runs.stream SSE schema (align with agents.create_stream) (#4451)
* fix: patch error on HITL tests

* Revert uv.lock to match main

* fix: IDK why uv lock keeps changing???
2025-09-05 21:44:26 -07:00
Sarah Wooders
ffe56a4916 fix: revert regression in OllamaProvider (#2775) 2025-09-05 17:52:23 -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
cthomas
6029c80446 fix: approval request for streaming (#4445)
* fix: approval request for streaming

* fix: claude code attempt, unit test passing (add on to #4445) (#4448)

* fix: claude code attempt, unit test passing

* chore: update locks to 0.1.314 from 0.1.312

* chore: just stage-api && just publish-api

* chore: drop dead poetry lock

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-09-05 17:43:21 -07:00
Kian Jones
49e43c72d4 fix: remove receently committed (#4449)
remove receently committed
2025-09-05 17:35:24 -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
80adb82b34 feat: add provider trace persistence in llm adapters (#4442)
* feat: add provider trace persistence in llm adapters

* hook up to new agent loop
2025-09-05 14:28:20 -07:00
cthomas
59a2245f24 feat: add step progression checkpointing to new agent loop (#4443) 2025-09-05 14:28:06 -07:00
Sarah Wooders
cf965bb469 chore: patch docker build 2025-09-05 12:31:34 -07:00
cthomas
7a79ea6b43 feat: poll cancellation status in client.runs.stream endpoint [LET-4209] (#4439)
* feat: make include pings default to true

* feat: add cancellation checks in  path
2025-09-05 12:30:30 -07:00