Kian Jones
d360242307
fix: don't expect stop reason to have a run id ( #6083 )
...
don't expect stop reason to have a run id
2025-11-13 15:36:56 -08:00
Kian Jones
ba19142669
fix: address high query latency with step id index on messages ( #6068 )
...
* add step id index on messages
* simple index
* fix sources padding
* fix import
* fix passage manager
* fix ci
* I think fixed
* disable turbopufer for managers to avoid failing passages tests
2025-11-13 15:36:56 -08:00
Charles Packer
081a1f6920
fix(core): patch responses api parallel tool calling not returning tool call IDs ( #6079 )
...
* fix(core): patch responses api parallel tool calling not returning tool call ids
* fix(core): patch chatcompletions as well
* fix: patch problem with gpt-4.1
2025-11-13 15:36:56 -08:00
Kian Jones
814856711e
fix: prevent too many runs bug ( #6076 )
...
* add limit of 1000 and change FE
* add safety
* const name
* update limit
* add max limit
---------
Co-authored-by: christinatong01 <christina@letta.com >
2025-11-13 15:36:56 -08:00
Charles Packer
2e721ddc62
fix: various hardening to prevent stale state on background mode runs ( #6072 )
...
fix: various hardening to prevent stale state on backgroun
d mode runs
2025-11-13 15:36:56 -08:00
jnjpng
744fa6ae03
feat: add model settings schema to stainless [LET-5976] ( #5872 )
...
* base
* test
* test
* update
* update
* generate
* regen
* update
* fix
* push
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:56 -08:00
jnjpng
5797b4162e
fix: agent create test + stage publish api ( #6063 )
...
* base
* fix
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:56 -08:00
Shubham Naik
9534ee23be
chore; regen ( #6067 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai >
2025-11-13 15:36:56 -08:00
Sarah Wooders
0b1fe096ec
feat: split up handle and model_settings ( #6022 )
2025-11-13 15:36:56 -08:00
Sarah Wooders
19e6b09da5
docs: remove schemas from docstrings ( #6059 )
2025-11-13 15:36:56 -08:00
jnjpng
cb63753db6
fix: f string formatting separator in anthropic client ( #6058 )
...
* fix
* fix
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:56 -08:00
jnjpng
5e35887295
fix: tools page not subscriptable ( #6057 )
...
fix
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:56 -08:00
jnjpng
a66a8187cd
fix: v1 sdk tests directly subscripting from list endpoints ( #6054 )
...
* base
* fix
* fix
* runs
* skip
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:56 -08:00
Sarah Wooders
483a97ee77
docs: add migration guide [LET-6085] ( #6006 )
...
* add migration guide
* update mcp
2025-11-13 15:36:55 -08:00
jnjpng
edbff34d63
feat: enable streaming flag on send message [LET-6100] ( #6040 )
...
* base
* base
* update
* stainless
* final
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
Kian Jones
789f6cf9cd
feat: log incoming requests too ( #6050 )
...
log incoming requests too
2025-11-13 15:36:55 -08:00
Ari Webb
526a678f8c
fix: fix agent test, returns new data format ( #6039 )
...
fix conftest
Co-authored-by: Ari Webb <ari@letta.com >
2025-11-13 15:36:55 -08:00
Charles Packer
18029250d0
fix(core): sanitize messages to anthropic in the main path the same way (or similar) to how we do it in the token counter ( #6044 )
...
* fix(core): sanitize messages to anthropic in the main path the same way (or similar) to how we do it in the token counter
* fix: also patch poison error in backend by filtering lazily
* fix: remap streaming errors (what the fuck)
* fix: dedupe tool clals
* fix: cleanup, removed try/catch
2025-11-13 15:36:55 -08:00
Charles Packer
363a5c1f92
fix: fix poison state from bad approval response ( #5979 )
...
* fix: detect and fail on malformed approval responses
* fix: guard against None approvals in utils.py
* fix: add extra warning
* fix: stop silent drops in deserialize_approvals
* fix: patch v3 stream error handling to prevent sending end_turn after an error occurs, and ensures stop_reason is always set when an error occurs
* fix: Prevents infinite client hangs by ensuring a terminal event is ALWAYS sent
* fix: Ensures terminal events are sent even if inner stream generator fails to
send them
2025-11-13 15:36:55 -08:00
Kian Jones
4acda9c80f
feat: global exception middleware ( #6017 )
...
* global exception middleware
* redo both logging middlewares as one
* remove extra middleware files
2025-11-13 15:36:55 -08:00
Kian Jones
a217c8f1b6
fix: re-add embedding dimension padding for archival memories ( #6041 )
...
fix embedding dimension padding
2025-11-13 15:36:55 -08:00
Kian Jones
db6d4bb124
chore: handle tool use id error in anthropic client ( #6016 )
...
handle tool use id error in anthropic client
2025-11-13 15:36:55 -08:00
Kian Jones
dc331c0f61
fix: handle step streaming for sleeptime agent ( #6014 )
...
handle step streaming for sleeptime agent
2025-11-13 15:36:55 -08:00
Kian Jones
e082ad7dec
fix: assorted fixes ( #6003 )
...
* duration fix metrics for temporal, encryption_key in lettuce-py, and v1 sdk bugfix
* none user agent = True
2025-11-13 15:36:55 -08:00
jnjpng
501c325b32
feat: return new Model and EmbeddingModel objects for list model/embedding endpoints [LET-6090] ( #6019 )
...
* base
* generate
* test
* test
* update
* generate
* cypress
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
jnjpng
8ff8ef2102
chore: clean up count agent test ( #6037 )
...
base
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
Matthew Zhou
8df78e9429
feat: Move file upload to temporal [LET-6089] ( #6024 )
...
* Finish writing temporal upload file activity
* Remove prints
* Rewrite content re-use
2025-11-13 15:36:55 -08:00
Matthew Zhou
940fde24e9
fix: Fix gating for padding again ( #6030 )
...
Fix bool
2025-11-13 15:36:55 -08:00
Matthew Zhou
790e1655e2
fix: Fix circular commit ( #6029 )
...
Fix circular commit
2025-11-13 15:36:55 -08:00
Matthew Zhou
586707a40d
fix: Restore padding except for production ( #6028 )
...
Restore padding except for production
2025-11-13 15:36:55 -08:00
Charles Packer
e8e94f2ebe
fix(core): patch bugs on transcript formatting for sleeptime w/ HITL ( #6025 )
2025-11-13 15:36:55 -08:00
Charles Packer
5beaa84b5f
fix(core): fix enable_sleeptime on letta_agent_v1 getting initial message sequence ( #6018 )
...
fix(core): for letta_agent_v1, if enable_sleeptime, make the sleeptime agent not have initial message sequence, similar to the base agent
2025-11-13 15:36:55 -08:00
Ari Webb
d2fe64bab4
fix: fix parallel tool calling tests in ci [LET-6043] ( #5950 )
...
* first hack
* test
* fix test for v1, comment out for legacy
* test shows parallel tool calling now happening
* fix test to detect parallel tool calling
* update to use oai too
* uncomment v2 test
---------
Co-authored-by: Ari Webb <ari@letta.com >
2025-11-13 15:36:55 -08:00
Fern Support
2920ea635b
patch: revert CLI to restore auth ( #6013 )
...
revert CLI to restore auth
Co-authored-by: chdeskur <chdeskur@gmail.com >
2025-11-13 15:36:55 -08:00
Ari Webb
13a77289b9
fix: send message test for gpt 4o ( #6012 )
...
fix
Co-authored-by: Ari Webb <ari@letta.com >
2025-11-13 15:36:55 -08:00
Christina Tong
c76bc9e216
feat: add filters to count_agents endpoint [LET-5380] [LET-5497] ( #6008 )
...
* feat: add filters to count_agents endpoint [LET-5380]
* comment
* update
2025-11-13 15:36:55 -08:00
Matthew Zhou
e7bf2901f2
fix: Gate embedding padding to only pgvector ( #6009 )
...
Gate embedding padding to only pgvector
2025-11-13 15:36:55 -08:00
Charles Packer
4b371dd6fb
fix(core): patch bug w/ sleeptime agents and client-side tool executions [LET-6081] ( #6001 )
...
* fix(core): patch bug w/ sleeptime agents and client-side tool executions
* fix: add groupid to approvalcreate
* chore: just stage-api && just publish-api
2025-11-13 15:36:55 -08:00
jnjpng
849d0dc64a
feat: provider-specific model configuration ( #5873 ) ( #5874 )
2025-11-13 15:36:55 -08:00
Sarah Wooders
5b9cac08b6
fix: populate stop_reason [LET-6040] ( #5955 )
...
fix: populate stop_reason
2025-11-13 15:36:55 -08:00
Sarah Wooders
fd7c8193fe
feat: remove chunking for archival memory [LET-6080] ( #5997 )
...
* feat: remove chunking for archival memory
* add error and tests
2025-11-13 15:36:55 -08:00
Charles Packer
61b1a7f600
docs: fix evals docs links ( #5999 )
2025-11-13 15:36:55 -08:00
jnjpng
46457d3f93
fix: send message integration tests agent loop errors ( #5995 )
...
base
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
Kian Jones
361c9a14d8
feat(metrics): Surface custom metrics for temporal workflows and workers ( #5951 )
...
* temporal custom metrics
* Delete apps/core/letta/agents/temporal/PRODUCTION_SETUP.md
* Delete apps/core/letta/agents/temporal/DATADOG_METRICS.md
* add unit testing
2025-11-13 15:36:55 -08:00
Kian Jones
ea3248593c
feat(logs): Enrich logs with context-aware primtive types ( #5949 )
...
* enrich logs with context-aware primtive types
* Delete apps/core/docs/LOG_CONTEXT.md
2025-11-13 15:36:55 -08:00
jnjpng
e2774c07c6
feat: generate otid when using input field on message send ( #5990 )
...
* base
* try this out
* plz
* fix
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
Kian Jones
6943b68288
tests: adding unit testing and fix edge case ( #5992 )
...
cursor bugbot suggestion number 2 and adding unit testing
2025-11-13 15:36:55 -08:00
Kian Jones
688397bbd2
fix: filter out messages with empty content in anthropic client ( #5987 )
...
* no bare raise in anthropic client. Also filter out messages with empty content
* use client logic
* replace empty/whitespace with period
* cursor bugbot
2025-11-13 15:36:55 -08:00
jnjpng
aa41bd7f6f
chore: replace sonnet-3-5 with sonnet-4-5 from send message integration tests ( #5989 )
...
add
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00
jnjpng
05b359b7f5
chore: add local base 64 url image for send message integration ( #5969 )
...
* base
* update
* clean up
* update
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-11-13 15:36:55 -08:00