Commit Graph

62 Commits

Author SHA1 Message Date
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
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
Sarah Wooders
b39f5b864e fix: patch openai byok (#3966) 2025-08-16 13:41:48 -07:00
Andy Li
9ca1664ed8 feat: support for providers 2025-07-22 16:09:50 -07:00
Andy Li
80f6e97ca9 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Shangyin Tan
19efa1a89a fix: do not pass temperature to request if model is oai reasoning model (#2189)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-05-24 21:34:18 -07:00
Matthew Zhou
e4fda7d6c7 feat: Asyncify openai model listing (#2281) 2025-05-20 15:24:00 -07:00
Kevin Lin
d133ca248f fix: patch lmstudio qwen (#2155) 2025-05-13 14:42:00 -07:00
cthomas
d67c425532 test: add additional new agent messaging tests (#2120) 2025-05-12 15:58:52 -07:00
Charles Packer
8bb194541e fix: make togetherai nebius xai etc usable via the openaiprovider (#1981)
Co-authored-by: Kevin Lin <klin5061@gmail.com>
Co-authored-by: Kevin Lin <kl2806@columbia.edu>
2025-05-09 10:50:55 -07:00
jnjpng
05e1623389 feat: add endpoint to test connection to llm provider (#2032)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-05-07 16:26:55 -07:00
Charles Packer
77f9e2d127 fix: patch o1 support (#1978) 2025-05-02 14:54:25 -07:00
cthomas
9280d85ba4 feat: always add user id to openai requests (#1969) 2025-04-30 23:23:01 -07:00
cthomas
5187e79a43 feat: use new model-proxy in production (#1908) 2025-04-30 15:20:54 -07:00
cthomas
83157c1949 feat: add letta-free endpoint constant (#1907) 2025-04-27 12:57:06 -07:00
cthomas
167c6a1d2e fix: pydantic serializer warning datetime -> int (#1701) 2025-04-23 14:53:58 -07:00
Charles Packer
e1fa7f0b40 fix: patch o-series (#1699) 2025-04-23 13:41:34 -07:00
Kevin Lin
4f3d05e6a6 feat: add reasoning effort in LLMConfig (#1697)
Co-authored-by: cpacker <packercharles@gmail.com>
2025-04-13 17:44:10 -07:00
Kevin Lin
14bf712cbe fix: patch o1 and o3-mini (#1657) 2025-04-10 13:50:38 -07:00
cthomas
42bfe08ce1 fix: use message idx instead of chunk idx for streaming (#1587) 2025-04-06 11:23:19 -07:00
cthomas
9458f40d05 feat: add otid field for message idempotency (#1556) 2025-04-04 08:43:01 -07:00
cthomas
261fd07b72 test: add more robust multi-agent testing (#1444) 2025-03-28 14:21:54 -07:00
cthomas
aa2f4258c4 feat: add content parts to message schema (#1273)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-13 18:43:32 -07:00
cthomas
19e65bb2c0 feat: log request data to otel (#1149) 2025-03-03 11:51:05 -08:00
Charles Packer
1687d9edb7 feat: add xAI / Grok support (#1122)
Co-authored-by: Shubham Naik <shub@letta.com>
2025-02-26 11:02:42 -08:00
Matthew Zhou
8d7ff5a536 feat: Reverse inner thoughts for chat completions endpoint (#1081) 2025-02-20 12:30:34 -08:00
Sarah Wooders
d2a4d5a20e docs: add documentation for DeepSeek integration (#1069) 2025-02-20 11:58:08 -08:00
Kevin Lin
98f0062416 feat: support deepseek models (#821)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Shubham Naik <shub@letta.com>
2025-02-18 15:28:01 -08:00
Kevin Lin
22484082ee fix: add max tokens (#795)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-02-10 20:28:03 -08:00
Matthew Zhou
5c43de3a2d fix: Fix trailing } in chat completions interface (#842) 2025-02-10 15:45:13 -08:00
Matthew Zhou
b981b617e1 fix: Disable default OpenAI retry behavior (#856) 2025-01-30 11:37:47 -08:00
Charles Packer
ca4912217c fix: fix fat finger push to main (#849) 2025-01-29 18:02:27 -08:00
cpacker
34e3cd44cd fix: pass in a dummy key to openai python client if it doesn't exist at inference time 2025-01-29 17:55:54 -08:00
Matthew Zhou
71620c1303 feat: Use Async OpenAI client to prevent blocking server thread (#811) 2025-01-28 14:02:33 -08:00
Charles Packer
bfe2c6e8f5 fix: fix lmstudio docker (#788) 2025-01-26 19:19:31 -08:00
Charles Packer
2671eaa376 feat: lmstudio support via /v1/chat/completions proxy route (#724) 2025-01-24 15:08:23 -08:00
Kevin Lin
38b7c1ec9a chore: add temperature to LLMConfig (#735)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-01-23 15:55:47 -08:00
Matthew Zhou
9a5d591515 feat: Use official OpenAI client (#752) 2025-01-23 15:45:06 -08:00
Charles Packer
576d5a77e1 fix: patch gpt4omini bug (#619) 2025-01-12 17:34:25 -08:00
Caren Thomas
7144fd2867 run black, add isort config to pyproject.toml 2024-12-26 19:43:11 -08:00
Caren Thomas
905906d416 run isort on apps/core 2024-12-26 19:27:09 -08:00
Shubham Naik
4cf354c033 fix: add tests to cypress 2024-12-23 14:44:08 -08:00
Matthew Zhou
79cc78f5cb fix: Patch dummy message and fix test (#2192) 2024-12-07 13:11:46 -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
Charles Packer
f57dc28552 feat: support togetherAI via /completions (#2045) 2024-11-18 15:15:05 -08:00
Matthew Zhou
c9c10e945e fix: Fix memory summarization (#2029) 2024-11-12 18:02:34 -08:00
Matthew Zhou
7bb0f53c23 feat: Implement tool calling rules for agents (#1954) 2024-10-30 16:53:41 -07:00
Charles Packer
a70dea15a4 fix: fix bug triggered by using ada embeddings (#1915) 2024-10-22 16:42:02 -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