Commit Graph

30 Commits

Author SHA1 Message Date
Kian Jones
25d54dd896 chore: enable F821, F401, W293 (#9503)
* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import
2026-02-24 10:55:08 -08:00
cthomas
9b5067bed9 fix: remove unused sync code (#8613)
* chore: remove unused sync code

* chore: remove deprecated sync Google AI functions

Removes unused sync functions that used httpx.Client (blocking):
- google_ai_get_model_details()
- google_ai_get_model_context_window()
- GoogleGeminiProvider.get_model_context_window()

All code now uses async versions with httpx.AsyncClient.

🐾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

---------

Co-authored-by: Letta <noreply@letta.com>
2026-01-19 15:54:37 -08:00
Sarah Wooders
91e3dd8b3e feat: fix new summarizer code and add more tests (#6461) 2025-12-15 12:02:19 -08:00
Ari Webb
89c7ab5f14 feat: structured outputs for openai [LET-6233] (#6363)
* first hack with test

* remove changes integration test

* Delete apps/core/tests/sdk_v1/integration/integration_test_send_message_v2.py

* add test

* remove comment

* stage and publish api

* deprecate base level response_schema

* add param to llm_config test

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:39 -08:00
Kian Jones
704d3b2d79 chore: refactor not to use warnings.warn (#5730)
* refactor not to use warnings.warn

* temp circular import fix maybe unecessary/bnad

* fix Deprecation warning

* fix deprecation warning and mcp thing?

* revert changes to mcp server test

* fix deprecation warning
2025-10-24 15:14:31 -07:00
Kian Jones
161c70f11c chore: add logger calls instead of prints (#5720)
add logger calls instead of prints
2025-10-24 15:14:21 -07:00
jnjpng
b0c0c8752b feat: support anyOf for structured output tools [LET-5615] (#5556)
* base

* works?

* update tests

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:13:15 -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
jnjpng
feb232f04a 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
Andy Li
9ca1664ed8 feat: support for providers 2025-07-22 16:09:50 -07:00
cthomas
64ac7a7deb fix: send message tests (#2656) 2025-06-05 13:57:43 -07:00
Matthew Zhou
bf74e53915 feat: Add tools for opening and closing files (#2638) 2025-06-04 17:33:18 -07:00
Andy Li
bf1874dbc9 fix: summarization includes tool call message before truncation (#2084)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-05-09 15:01:12 -07:00
Charles Packer
408057c216 feat: initial MCP support (#1229)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-12 17:33:24 -07:00
Matthew Zhou
8d7ff5a536 feat: Reverse inner thoughts for chat completions endpoint (#1081) 2025-02-20 12:30:34 -08:00
Matthew Zhou
8d765f286e feat: Composio tools execute on-the-fly (#999) 2025-02-13 16:13:29 -08:00
Matthew Zhou
1d35a52951 feat: Rework summarizer (#654) 2025-01-22 11:19:26 -08:00
Matthew Zhou
5c490a3cc7 chore: Merge OSS (#512) 2025-01-06 10:46:53 -08:00
Caren Thomas
7144fd2867 run black, add isort config to pyproject.toml 2024-12-26 19:43:11 -08:00
Shubham Naik
4cf354c033 fix: add tests to cypress 2024-12-23 14:44:08 -08:00
Charles Packer
6be2000eda feat: support pydantic models in tool uploads + patch dict/list types (#2112) 2024-11-30 10:09:03 -08:00
Matthew Zhou
7bb0f53c23 feat: Implement tool calling rules for agents (#1954) 2024-10-30 16:53:41 -07:00
Charles Packer
1a93b85bfd feat: fix streaming put_inner_thoughts_in_kwargs (#1913) 2024-10-21 17:07:20 -07:00
Charles Packer
e940511a6f revert: Revert "feat: fix streaming put_inner_thoughts_in_kwargs" (#1912) 2024-10-19 23:48:27 -07:00
Charles Packer
cf19da6062 feat: fix streaming put_inner_thoughts_in_kwargs (#1911) 2024-10-19 21:49:45 -07:00
Matthew Zhou
c18eb466f8 feat: Add put_inner_thoughts_in_kwargs as a config setting for the LLM (#1902)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-17 15:54:03 -07:00
Matthew Zhou
02f4098553 test: Fix Azure tests and write CI tests (#1871)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-11 15:12:45 -07:00
Matthew Zhou
c0501a743d test: add complex gemini tests (#1853)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-09 10:00:21 -07:00
Matthew Zhou
b83f77af22 fix: refactor Google AI Provider / helper functions and add endpoint test (#1850)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-08 16:55:11 -07:00
Matthew Zhou
1104438490 fix: Fix Azure provider and add complex e2e testing (#1842)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-07 17:59:06 -07:00