mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-07 03:56:39 +00:00
**Description:** - Fix bug in Replicate LLM class, where it was looking for parameter names in a place where they no longer exist in pydantic 2, resulting in the "Field required" validation error described in the issue. - Fix Replicate LLM integration tests to: - Use active models on Replicate. - Use the correct model parameter `max_new_tokens` as shown in the [Replicate docs](https://replicate.com/docs/guides/language-models/how-to-use#minimum-and-maximum-new-tokens). - Use callbacks instead of deprecated callback_manager. **Issue:** #26937 **Dependencies:** n/a **Twitter handle:** n/a --------- Signed-off-by: Fayvor Love <fayvor@gmail.com> Co-authored-by: Chester Curme <chester.curme@gmail.com> |
||
---|---|---|
.. | ||
adapters | ||
agent | ||
cache | ||
callbacks | ||
chains | ||
chat_message_histories | ||
chat_models | ||
cross_encoders | ||
document_compressors | ||
document_loaders | ||
document_transformers | ||
embeddings | ||
examples | ||
graph_vectorstores | ||
graphs | ||
indexes | ||
llms | ||
memory | ||
prompts | ||
retrievers | ||
smith/evaluation | ||
storage | ||
tools | ||
utilities | ||
vectorstores | ||
__init__.py | ||
.env.example | ||
conftest.py | ||
test_compile.py | ||
test_dalle.py | ||
test_document_transformers.py | ||
test_long_context_reorder.py | ||
test_nuclia_transformer.py | ||
test_pdf_pagesplitter.py |