Commit Graph

28 Commits

Author SHA1 Message Date
github-actions[bot]
90f3ab9184 fix: validate URL scheme in fetch_webpage to reject file:// URLs (#8889)
Adds validation to the fetch_webpage tool to ensure only HTTP/HTTPS URLs
are accepted. Previously, passing a file:// URL would cause an unhandled
requests.exceptions.InvalidSchema error. Now it raises a clear ValueError
with a helpful error message.

Fixes: requests.exceptions.InvalidSchema: No connection adapters were found for 'file://...'

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

Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: datadog-official[bot] <datadog-official[bot]@users.noreply.github.com>
Co-authored-by: Letta <noreply@letta.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2026-01-19 15:54:44 -08:00
Cameron
a56c6571d2 fix: update fetch_webpage docstring to reflect actual implementation (#6503)
The docstring incorrectly stated that fetch_webpage uses Jina AI reader.
Updated to accurately describe the actual implementation which uses:
1. Exa API (if EXA_API_KEY is available)
2. Trafilatura (fallback)
3. Readability + html2text (final fallback)

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

Co-authored-by: Letta <noreply@letta.com>
2025-12-15 12:02:34 -08:00
Sarah Wooders
ceadacd30e feat: support programmatic tool execution (cloud only) (#6441) 2025-12-15 12:02:19 -08:00
Sarah Wooders
e349ba3bdd feat: support programmatic tool calling for custom tools [LET-6316] (#6369) 2025-11-26 14:39:40 -08:00
Ari Webb
66ccc1d4df chore: silence exa search failed [LET-5952] (#5815)
silence exa search failed

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:08 -08:00
Sarah Wooders
6016ac0f33 chore: undo fetch_webpage rename (#5132) 2025-10-07 17:50:49 -07:00
Charles Packer
09b173668a feat(core): rename fetch_webpage to web_fetch (#5110) 2025-10-07 17:50:48 -07:00
Matthew Zhou
29515e9a7d feat: Make exa get_contents async [LET-4574] (#5068)
Make exa async
2025-10-07 17:50:48 -07:00
Matthew Zhou
7390edeb00 feat: Add exa for fetch webpage (#5066)
Add exa for fetch webpage
2025-10-07 17:50:48 -07:00
Kian Jones
b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c chore: officially migrate to submodule (#4502)
* remove apps/core and apps/fern

* fix precommit

* add submodule updates in workflows

* submodule

* remove core tests

* update core revision

* Add submodules: true to all GitHub workflows

- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* remove core-lint

* upgrade core with latest main of oss

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 12:45:53 -07:00
Matthew Zhou
2af6049d6f feat: Change web search to exa [LET-4190] (#4401)
* Change web search to exa

* Fix tf/justfile

* add exa api key for integration test

* Mock exa

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-09-03 15:52:10 -07:00
Matthew Zhou
129dd97902 feat: Add fetch webpage tool [LET-4188] (#4395)
* Add fetch webpage tool

* Use trafilatura for web extraction
2025-09-03 13:34:35 -07:00
Kian Jones
fecf6decfb 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
Matthew Zhou
617ec9e87b feat: Add comprehensive error tracking to steps table (#3765) 2025-08-06 20:19:29 -07:00
Matthew Zhou
fe511002c7 feat: Fix builtin web search tests (#3680) 2025-07-31 13:49:11 -07:00
Matthew Zhou
cf268ce802 feat: More speedups to the web search tool (#3650) 2025-07-29 23:03:53 -07:00
Matthew Zhou
e4b91d2429 feat: Speed up web search (#3649) 2025-07-29 22:44:45 -07:00
Matthew Zhou
eacaa2b02a feat: Change defaults on web search tool (#3646) 2025-07-29 22:23:37 -07:00
Matthew Zhou
3cf9580d9b feat: Add bulk source upsert mechanism (#3456) 2025-07-21 14:52:20 -07:00
Matthew Zhou
33d99be157 feat: Add env var to control model within builtin web_search tool (#3417) 2025-07-18 16:45:59 -07:00
Matthew Zhou
3845592f50 fix: Tweak output length on web search (#3113) 2025-06-30 16:05:46 -07:00
Matthew Zhou
d5d71a776a feat: Parallel web search tool (#2890) 2025-06-18 14:07:51 -07:00
Matthew Zhou
b7a2f38e01 feat: Port firecrawl search into web search (#2868) 2025-06-17 14:08:31 -07:00
Matthew Zhou
1133fed262 fix: Patch model dump issues on firecrawl (#2864) 2025-06-17 11:40:07 -07:00
Matthew Zhou
d991d37b04 feat: Add built in firecrawl search tool (#2858) 2025-06-17 01:16:39 -07:00
Andy Li
d2252f2953 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Matthew Zhou
470b13f4b9 feat: Add tools for opening and closing files (#2638) 2025-06-04 17:33:18 -07:00