Commit Graph

16 Commits

Author SHA1 Message Date
Ani Tunturi
1d1adb261a fix: orphaned approvals, token inflation, reasoning fields, memfs redis dep
Some checks are pending
Test Package Installation / test-install (3.11) (push) Waiting to run
Test Package Installation / test-install (3.12) (push) Waiting to run
Test Package Installation / test-install (3.13) (push) Waiting to run
[IN TESTING — self-hosted 0.16.6, Kimi-K2.5 via Synthetic Direct]

Four independent fixes that landed together on this stack:

helpers.py — skip PendingApprovalError when the associated run is already
cancelled or failed. Stale approvals from interrupted runs were blocking all
subsequent messages on that conversation. Now checks run status before raising;
falls back to raising on lookup failure (conservative).

letta_agent_v3.py — use prompt_tokens not total_tokens for context window
estimate. total_tokens inflated the estimate by including completion tokens,
triggering premature compaction. This was causing context window resets mid-
conversation and is the root of the token inflation bug (see #3242).

openai_client.py (both build_request_data paths) — strip reasoning_content,
reasoning_content_signature, redacted_reasoning_content, omitted_reasoning_content
from message history before sending to inference backends. Fireworks and Synthetic
Direct reject these fields with 422/400 errors. exclude_none handles None values
but not actual text content from previous assistant turns.

block_manager_git.py — skip DB write when block value is unchanged. Reduces
unnecessary write amplification on every memfs sync cycle.

memfs_client_base.py — remove redis_client= kwarg from GitOperations init.
Dependency was removed upstream but the call site wasn't updated.

Dockerfile / compose files — context window and config updates for 220k limit.
2026-03-26 23:24:32 -04:00
Kian Jones
58069d760e chore: update pgvector Docker image to official pgvector/pgvector (#9336)
chore: update pgvector image from ankane/pgvector:v0.8.1 to pgvector/pgvector:0.8.1-pg18-trixie
2026-02-24 10:52:06 -08:00
Kian Jones
b89387bf38 chore: bump pgvector container (#9271) 2026-02-24 10:52:06 -08:00
Shelley Pham
5dc70e48eb Shelley/let 7218 editor should be compatible with typescript [LET-7218] (#9087)
* fix python icon not showing up

* make typescript compatible for updating tools in typescript

* Update flags.ts

* display tools properly in navigation

* add default json schema to newly created tools

* add typescript to code editor

* make editor typescript compatible

* Update ToolsEditor.tsx

* typescript ocmpatible editor

* sandbox stuff

* update breadcrumb icon

* pass in source type to tool simulator

* undo

* Update tool-editor.cy.ts
2026-01-29 12:44:04 -08:00
Kian Jones
e58c76124a fix: refactor into common uri parsing logic, fix test, and fix compose file (#5261)
refactor into common uri parsing logic, fix test, and fix compose file
2025-10-24 15:10:35 -07:00
Kian Jones
44056ee24e chore: fix dev compose + docker-integration tests (#3024) 2025-10-08 17:59:04 -07:00
cthomas
9cb5156ac7 chore: sync 0.12.0 version (#3023)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-10-08 16:10:51 -07:00
ahmedrowaihi
7f82aaf347 fix(openapi): OpenAPI schema validation UNEVALUATED PROPERTY must NOT have unevaluated properties 2025-04-29 23:37:47 +03:00
Sarah Wooders
3c97fb00a0 feat: rename docker to letta/letta (#2010) 2024-11-06 23:15:25 -08:00
Sarah Wooders
969fec81a9 fix: update compose.yaml to use updated env variables (#1887) 2024-10-14 18:35:46 -07:00
Sarah Wooders
8ae1e64987 chore: migrate package name to letta (#1775)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-09-23 09:15:18 -07:00
Sarah Wooders
b1fbece818 fix: debug logs in server (#1452) (#1457)
Co-authored-by: Ethan Knox <ethan.m.knox@gmail.com>
2024-06-16 19:21:53 -07:00
Sarah Wooders
51f06fdae2 fix: various fixes to python client and add tutorial notebooks (#1377) 2024-06-09 15:32:20 -07:00
Charles Packer
17eb4d9279 fix: patch embedding_model null issue in tests (#1305)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-04-27 21:33:00 -07:00
Sarah Wooders
416ed3fad9 feat: add workflow to build + test docker container (#1278) 2024-04-21 17:58:09 -07:00
Sarah Wooders
d8ffd6c4d6 fix: add DB prefill for default user, preset, humans, and persona for server (#1273) 2024-04-19 10:30:28 -07:00