-
Notifications
You must be signed in to change notification settings - Fork 1
HAI-1677 Upgrade aiohttp and its dependencies #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
shinxi
commented
Aug 20, 2025
- Upgrade aiohttp needs to upgrade langchain-pinecone, upgrade langchain-pinecone needs to upgrade langchain-openai. This means need to upgrade our forked langchain
See [flake8-boolean-trap (FBT)](https://docs.astral.sh/ruff/rules/#flake8-boolean-trap-fbt)
…… (#31957) **Description:** Added standardized Google-style docstrings to improve documentation consistency across key modules. Updated files: - `tools/zapier/tool.py` - `tools/jira/tool.py` - `tools/json/tool.py` - `llms/base.py` These changes enhance readability and maintain consistency with LangChain’s documentation style guide. **Issue:** Fixes #21983 **Dependencies:** None **Twitter handle :** @Akshara_p_
**Description**: Fixed a typo from "Hi, I'm Bob and I life in SF." to "Hi, I'm Bob and I live in SF." . **Connect with me**: https://www.linkedin.com/in/0xFazal/ **More about me**: https://fazal.me/ -**Fazal**.
### **Description** Add Visual Basic 6 support. --- ### **Issue** No specific issue addressed. --- ### **Dependencies** No additional dependencies required. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>
Docs are not required for tests but when there are docstrings, they shall be correctly formatted. See https://docs.astral.sh/ruff/rules/#pydocstyle-d
This PR changes the return type hints of the `format_prompt` and `aformat_prompt` methods in `BaseChatPromptTemplate` from `PromptValue` to `ChatPromptValue`. Since both methods always return a `ChatPromptValue`.
**PR title**: add deprecation notice for PipelinePromptTemplate **PR message**: In the API documentation, PipelinePromptTemplate is marked as deprecated, but this is not mentioned in the docs. I'm submitting this PR to add a deprecation notice to the docs. **Tests**: N/A (documentation only) --------- Co-authored-by: Mason Daugherty <github@mdrxy.com>
I am modifying two things: 1. "This sample demonstrates" with "The following samples demonstrate" as we're talking about at least 4 samples 2. Bringing the sentence to after talking about the definition of textract to keep the document organized (textract definition then samples) --------- Co-authored-by: Mason Daugherty <github@mdrxy.com>
It was outdated --------- Co-authored-by: Mason Daugherty <github@mdrxy.com>
Unpin packaging dependency --------- Co-authored-by: ntjohnson1 <24689722+ntjohnson1@users.noreply.github.com>
Trying to unblock documentation build pipeline * Bump langgraph dep in docs * Update langgraph in lock file (resolves an issue in API reference generation)
…o the LangChain Forum (#32050)
Docusarus gtm langchain v2
…2054) ## Description Currently when deserializing objects that contain non-deserializable values, we throw an error. However, there are cases (e.g. proxies that return response fields containing extra fields like Python datetimes), where these values are not important and we just want to drop them. Twitter handle: @Hacubu --------- Co-authored-by: Mason Daugherty <github@mdrxy.com>
Not touching `pyproject.toml` or chat model related items as to not interfere with work in wip0.4 branch
…mentation (#32503) **Changes made:** - Fix 'Async programming with langchain' → 'Async programming with LangChain' - Fix 'Langchain asynchronous APIs' → 'LangChain asynchronous APIs' - Fix 'How to: init any model' → 'How to: initialize any model' - Fix 'async programming with Langchain' → 'async programming with LangChain' - Fix 'How to propagate callbacks constructor' → 'How to propagate callbacks to the constructor' - Fix 'How to add a semantic layer over graph database' → 'How to add a semantic layer over a graph database' - Fix 'Build a Question/Answering system' → 'Build a Question-Answering system' **Why is this change needed?** - Improves documentation clarity and readability - Maintains consistent LangChain branding throughout the docs - Fixes grammar issues that could confuse users - Follows proper documentation standards **Files changed:** - `docs/docs/concepts/async.mdx` - `docs/docs/concepts/tools.mdx` - `docs/docs/how_to/index.mdx` - `docs/docs/how_to/callbacks_constructor.ipynb` - `docs/docs/how_to/graph_semantic.ipynb` - `docs/docs/tutorials/sql_qa.ipynb` **Issue:** N/A (documentation improvements) **Dependencies:** None **Twitter handle:** https://x.com/mishraravibhush Co-authored-by: Mason Daugherty <mason@langchain.dev>
Lots of work that wasn't directly related to core improvements/messages/testing functionality
…20) (#32346) Closes #32320 This PR updates the `langgraph_agentic_rag.ipynb` notebook to clarify that LangGraph does not automatically prepend a `SystemMessage`. A markdown note and an inline Python comment have been added to guide users to explicitly include a `SystemMessage` when needed. This improves documentation for developers working with LangGraph-based agents and avoids confusion about system-level behavior not being applied. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>
**Description:** I've added a small clarification to the chatbot tutorial. The tutorial mentions setting the `LANGSMITH_API_KEY`, but doesn't explain how a new user can get the key from the website. This change adds a brief note to guide them to the Settings page. P.S. This is my first pull request, so I'm excited to learn and contribute! **Issue:** N/A **Dependencies:** N/A **Twitter handle:** @Sohamactive Co-authored-by: Mason Daugherty <mason@langchain.dev>
Clarify the differences between tool artifacts and injected state in LangChain and LangGraph
- **Description:** Moving `standard-tests` to main ordered section - **Issue:** #32395 --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>
```messages_to_pass = [
HumanMessage(content="What's the capital of France?"),
AIMessage(content="The capital of France is Paris."),
HumanMessage(content="And what about Germany?")
]
formatted_prompt = prompt_template.invoke({"msgs": messages_to_pass})
print(formatted_prompt)```
---------
Co-authored-by: Mason Daugherty <mason@langchain.dev>
Co-authored-by: Mason Daugherty <github@mdrxy.com>
…32341) The previous code generated data invalid error. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ant is selected as vectorStore (#32099) In [Rag Part 1 Tutorial](https://python.langchain.com/docs/tutorials/rag/), when QDrant vector store is selected, the sample code does not work It fails with error `ValueError: Collection test not found` So, this fix is creating that collection and ensuring its dimension size is matching the selection the embedding size of the selected LLM Model --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR introduces a new integration guide for MCP Toolbox. The primary goal of this new documentation is to enhance the discoverability of MCP Toolbox for developers working within the LangChain ecosystem, providing them with a clear and direct path to using our tools. This approach was chosen to provide users with a practical, hands-on example that they can easily follow. > [!NOTE] > The page added in this PR is linked to from a section in Google partners page added in #32356. --------- Co-authored-by: Lauren Hirata Singh <lauren@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com> Co-authored-by: Mason Daugherty <mason@langchain.dev>
[Spider](https://spider.cloud/) is a webpage loader and should be listed under the ["Webpages"](https://python.langchain.com/docs/integrations/document_loaders/#webpages) table on the Document loaders page. Twitter: https://x.com/WilliamEspegren --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>
This PR introduces a new Google partner guide for MCP Toolbox. The primary goal of this new documentation is to enhance the discoverability of MCP Toolbox for developers working within the Google ecosystem, providing them with a clear and direct path to using our tools. > [!IMPORTANT] > This PR contains link to a page which is added in #32344. This will cause deployment failure until that PR is merged. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com>
# Description This PR updates the docs for the [langchain-anchorbrowser](https://pypi.org/project/langchain-anchorbrowser/) package. It adds a few tools [Anchor Browser](https://anchorbrowser.io/?utm=langchain) is the platform for AI Agentic browser automation, which solves the challenge of automating workflows for web applications that lack APIs or have limited API coverage. It simplifies the creation, deployment, and management of browser-based automations, transforming complex web interactions into simple API endpoints. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com>
Thank you for contributing to LangChain! - [x] **PR title**: "package: description" - Where "package" is whichever of langchain, core, etc. is being modified. Use "docs: ..." for purely docs changes, "infra: ..." for CI changes. - Example: "core: add foobar LLM" - **Description:** Integrated the Scrapeless package to enable Langchain users to seamlessly incorporate Scrapeless into their agents. - **Dependencies:** None - **Twitter handle:** [Scrapelessteam](https://x.com/Scrapelessteam) - [x] **Add tests and docs**: If you're adding a new integration, you must include: 1. A test for the integration, preferably unit tests that do not rely on network access, 2. An example notebook showing its use. It lives in `docs/docs/integrations` directory. - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See [contribution guidelines](https://python.langchain.com/docs/contributing/) for more. Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to `pyproject.toml` files (even optional ones) unless they are **required** for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com>
Co-authored-by: Mason Daugherty <mason@langchain.dev>
Co-authored-by: Mason Daugherty <mason@langchain.dev>
See https://docs.astral.sh/ruff/rules/#pydocstyle-d Co-authored-by: Mason Daugherty <mason@langchain.dev>
Co-authored-by: Mason Daugherty <mason@langchain.dev>
This PR adds documentation for integrating [TrueFoundry’s AI Gateway](https://www.truefoundry.com/ai-gateway) with Langfuse using the Langraph OpenAI SDK. The integration sends requests through TrueFoundry’s AI Gateway for unified governance, observability, and routing, while Langraph runs on the client side to capture execution traces and telemetry. - Issue: N/A - Dependencies: None - Twitter - https://x.com/truefoundry tests - Not applicable --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Mason Daugherty <github@mdrxy.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Mason Daugherty <mason@langchain.dev>
**Description:** Two broken links were reported by another LangChain employee. This PR fixes those links. Fixed and tested locally. **Dependencies:** None
…ge. (#32514) This commit removes redundant integration info from details page, additionally, changing reference from "DigitalOcean GradientAI" to "DigitalOcean Gradient™ AI" and updating the setup instructions accordingly.
* Apply abort stream feature.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.