Commit Graph

14020 Commits

Author SHA1 Message Date
Mason Daugherty
332215ed41
nit 2025-08-04 13:44:31 -04:00
Mason Daugherty
d4ac8ff5f7
lint 2025-08-04 13:14:04 -04:00
Mason Daugherty
719c9dfaaa
fix: handle TypeGuard import for compatibility with older Python versions 2025-08-04 13:06:42 -04:00
Mason Daugherty
a3929c71e4
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-08-04 12:57:55 -04:00
Mason Daugherty
cc56b8dbd3
Merge branch 'standard_outputs_copy' into mdrxy/ollama_v1 + updates 2025-08-04 12:57:38 -04:00
Chester Curme
bbbc11edf9 Merge branch 'wip-v0.4' into standard_outputs_copy 2025-08-04 11:55:54 -04:00
Chester Curme
5414527236 Merge branch 'master' into wip-v0.4 2025-08-04 11:55:14 -04:00
ccurme
2a268f1e24
fix(openai): use empty list in v1 messages instead of empty string for chat completions tool calls (#32392) 2025-08-04 11:54:03 -04:00
Mason Daugherty
6de1535785
fix: remove type ignores 2025-08-04 11:36:50 -04:00
ccurme
ff3153c04d
feat(core): move tool call chunks to content (v1) (#32358) 2025-08-04 11:32:11 -04:00
Mason Daugherty
8d8a61ab3b
fix: create_plaintext_block 2025-08-04 11:31:29 -04:00
Mason Daugherty
a6686d7c4f
type guards to remove casting 2025-08-04 11:29:36 -04:00
Mason Daugherty
822dd5075c
del impl plan 2025-08-04 11:15:40 -04:00
Narasimha Badrinath
dd9f5d7cde
feat(docs): add langchain-gradientai as provider (#32202)
langchain-gradientai is Digitalocean's integration with Langchain. It
will help users to build langchain applications using Digitalocean's
GradientAI platform.

---------

Co-authored-by: Mason Daugherty <github@mdrxy.com>
Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-08-04 14:57:59 +00:00
Ammar Younas
d348cfe968
docs: fix minor typos in image generation description (#32375)
Description:
Fixed minor typos in the `google_imagen.ipynb` integration notebook
related to image generation prompt formatting. No functional changes
were made — just a documentation correction to improve clarity.
2025-08-04 10:52:05 -04:00
Kanav Bansal
84c5048cb8
fix(docs): correct package names in FeatureTables.js (#32377)
## **Description:** 
Updated incorrect package names in `FeatureTables.js` by replacing
underscores with hyphens to reflect their actual names on PyPI. This
aligns with the actual PyPI package names and prevents potential
confusion or installation issues.

The following package names were corrected:
- `langchain_aws` ➝ `langchain-aws`
- `langchain_community` ➝ `langchain-community`
- `langchain_elasticsearch` ➝ `langchain-elasticsearch`
- `langchain_google_community` ➝ `langchain-google-community`

 
## **Issue:** N/A
## **Dependencies:** None
## **Twitter handle:** N/A
2025-08-04 10:51:32 -04:00
garciasces
d318c655b6
fix(docs): inconsistent docs for Google Vertex AI (#32381)
Description: Documentation is inconsistent with API docs.

Current documentation implies that to use the integration you must have
credentials configured AND store the path to a service account JSON
file.

API docs explain that you must only complete EITHER of the steps
regarding credentials.

I have updated the docs to make them consistent with the API wording.
2025-08-04 10:50:50 -04:00
Kanav Bansal
df4eed0cea
fix(docs): update package names, class links and package links across kv_store_feat_table.py (#32353)
## **Description:** 
Refactored multiple entries in `kv_store_feat_table.py` to ensure that
all vector store metadata is accurate, consistent, and aligned with
LangChain's latest documentation structure and PyPI naming standards.

**Key improvements across all updated entries:**
- Updated `class` links to point to their respective **docs-based
integration pages** (e.g., `/docs/integrations/stores/...`) instead of
raw API reference URLs.
- Corrected `package` display names to use **hyphenated PyPI-compliant
names** (e.g., `langchain-astradb` instead of `langchain_astradb`).
- Updated `package` links to point to the **specific class-level API
references** (e.g., `/api_reference/.../storage/...ClassName.html`) for
precision.

These improvements enhance:
- Navigation experience for users
- Alignment with PyPI and docs naming conventions
- Clarity across LangChain’s integrations documentation


 
## **Issue:** N/A
## **Dependencies:** None
## **Twitter handle:** N/A
2025-08-04 09:46:54 -04:00
Dhanesh Gujrathi
a25e196fe9
docs(docs): add link for ALPHAVANTAGE_API_KEY generation in integration notebook (#32364)
docs(alpha_vantage): add link for ALPHAVANTAGE_API_KEY generation in
integration notebook

**Description:**

This PR updates the `docs/docs/integrations/tools/alpha_vantage.ipynb`
integration notebook to help users locate the API key registration page
for Alpha Vantage. The following markdown line was added:

---------

Co-authored-by: Mason Daugherty <mason@langchain.dev>
2025-08-03 19:49:44 +00:00
Ethan Knights
3137d49bd9
docs: minor agent tools markdown improvement (#32367)
Minor sharpening of agent tool doc.
2025-08-03 15:42:19 -04:00
Mason Daugherty
82492d6d89
export v1 tests 2025-08-01 12:53:37 -04:00
Mason Daugherty
eae4d1db43
integration tests 2025-08-01 12:47:08 -04:00
Mason Daugherty
6820723177
update dep in lock 2025-07-31 22:53:36 -04:00
Mason Daugherty
6669ac7891
fix: local format incompat with ruff 2025-07-31 22:51:47 -04:00
Mason Daugherty
bc5c6751dc
fix test 2025-07-31 17:37:42 -04:00
Mason Daugherty
05d075a37f
messages.v1 mypy fixes 2025-07-31 17:32:59 -04:00
Mason Daugherty
7a0c3e0482
fix: update snapshots 2025-07-31 17:27:37 -04:00
Mason Daugherty
1b2a677eed
first pass (w/o integration) 2025-07-31 17:24:19 -04:00
Mason Daugherty
02d02ccf1b
feat: enhance serialization for v1 message classes in dump and load modules 2025-07-31 17:08:39 -04:00
Mason Daugherty
e1b8ae2e6c
content_blocks: add missing blocks to aliases and formatting 2025-07-31 17:08:10 -04:00
Mason Daugherty
2cb48b685f
messages v1: some nits, and use create_text_block() 2025-07-31 17:07:42 -04:00
Mason Daugherty
45533fc875
fix: correct syrupy import 2025-07-31 13:16:55 -04:00
Mason Daugherty
e9bb40f221
nit: lint standard-tests files 2025-07-31 13:15:39 -04:00
Mason Daugherty
4f4e831a44
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-31 12:23:29 -04:00
Mason Daugherty
525fa453be
fix: revert pydantic bump (#32355) 2025-07-31 12:22:23 -04:00
Mason Daugherty
9a4fb44736
Merge branch 'mdrxy/ollama_v1' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-31 11:22:09 -04:00
Mason Daugherty
48b02fead9
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-31 11:21:52 -04:00
Mason Daugherty
c88adfad70
fix: updatd snapshots 2025-07-31 11:21:40 -04:00
Mason Daugherty
ca6e3322a9
fix: update snapshots 2025-07-31 11:21:14 -04:00
Mason Daugherty
1a04543791
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-31 11:19:18 -04:00
Mason Daugherty
7f1e98c7fb
fix: add index to InvalidToolCall 2025-07-31 11:19:01 -04:00
Mason Daugherty
9a4d878b2d
bump pydantic 2025-07-31 11:16:02 -04:00
Mason Daugherty
3dcfc6c389
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-31 11:15:27 -04:00
Mason Daugherty
44bd6fe837
feat(core): content block factories + ids + docs + tests (#32316)
## Benefits

1. **Type Safety**: Compile-time validation of required fields and
proper type setting
2. **Less Boilerplate**: No need to manually set the `type` field or
generate IDs
3. **Input Validation**: Runtime validation prevents common errors
(e.g., base64 without MIME type)
4. **Consistent Patterns**: Standardized creation patterns across all
block types
5. **Better Developer Experience**: Cleaner, more intuitive API than
manual TypedDict construction. Also follows similar other patterns (e.g.
`create_react_agent`, `init_chat_model`
2025-07-31 11:12:00 -04:00
ccurme
740d9d3e7e
fix(core): fix tracing for new message types in case of multiple messages (#32352) 2025-07-31 10:47:23 -04:00
Raphaël
9a2f49df1f
fix(docs): add missing space (#32349) 2025-07-31 09:28:51 -04:00
Mason Daugherty
32e5040a42
chore: add CLAUDE.md (#32334) 2025-07-30 23:04:45 +00:00
Mason Daugherty
588fe46601
Merge branch 'standard_outputs_copy' into mdrxy/ollama_v1 2025-07-30 17:41:16 -04:00
ccurme
642262f6fe
feat(core): widen input type for output parsers (#32332) 2025-07-30 16:52:34 -04:00
Mason Daugherty
7a902c1bf5
Merge branch 'standard_outputs_copy' of github.com:langchain-ai/langchain into mdrxy/ollama_v1 2025-07-30 16:29:14 -04:00