You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/core/langchain_core/utils
Erick Friis e1924b3e93
core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600)
Deprecates the old langchain-hub repository. Does *not* deprecate the
new https://smith.langchain.com/hub

@PinkDraconian has correctly raised that in the event someone is loading
unsanitized user input into the `try_load_from_hub` function, they have
the ability to load files from other locations in github than the
hwchase17/langchain-hub repository.

This PR adds some more path checking to that function and deprecates the
functionality in favor of the hub built into LangSmith.
7 months ago
..
__init__.py core[minor]: Image prompt template (#14263) 8 months ago
_merge.py core: improve None value processing in merge_dicts() (#17462) 7 months ago
aiter.py Separate out langchain_core package (#13577) 10 months ago
env.py Improve: remove extra spaces in get_from_env error (#15064) 9 months ago
formatting.py core[patch]: docstring update (#16813) 8 months ago
function_calling.py Fix Dep Recommendation (#16793) 8 months ago
html.py core[patch], community[patch]: link extraction continue on failure (#17200) 8 months ago
image.py core[minor]: Image prompt template (#14263) 8 months ago
input.py infra: add print rule to ruff (#16221) 8 months ago
interactive_env.py core[patch]: simple prompt pretty printing (#15968) 8 months ago
iter.py Separate out langchain_core package (#13577) 10 months ago
json_schema.py Update _retrieve_ref inside json_schema.py to include an isdigit() check (#14745) 9 months ago
loading.py core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600) 7 months ago
pydantic.py Separate out langchain_core package (#13577) 10 months ago
strings.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
utils.py Separate out langchain_core package (#13577) 10 months ago