Files
letta-server/letta/data_sources
Krishnakumar R (KK) ecafa12ac9 fix(load-directory): Fix up file extension comparison & path list construction
The file extensions used in `cli_load.py` has '.' prefix. The comparison
in `get_filenames_in_dir` uses the strings from
`ext = file_path.suffix.lstrip(".")` resulting in strings without '.'
prefix. We fix this by giving extensions without '.' prefix in the
default list of extensions to compare against.

The file_path generated are of type PosixPath, where as string list is
expected. We fix this by converting PosixPath to string before
constructing the list.
2025-02-26 00:24:02 +00:00
..