From b03c5e981919bc9ef83efb9656b2d35c2e084b39 Mon Sep 17 00:00:00 2001 From: chengzeyi Date: Thu, 5 Nov 2026 15:41:53 +0000 Subject: [PATCH 1/3] video: default to bytedance/seedance-2.5/text-to-video Same default as the WaveSpeed CLI and MCP server. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- langchain_wavespeed/tools.py | 2 +- tests/unit_tests/test_tools.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index af077c8..0c8541b 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ print(url) # https://.../output.png ### WaveSpeedVideoGeneration -Generate videos from text prompts (defaults to `wavespeed-ai/minimax-h3/text-to-video`, the cheap open-weights starting point; pass `model="bytedance/seedance-2.5/text-to-video"` for the highest quality): +Generate videos from text prompts (defaults to `bytedance/seedance-2.5/text-to-video`, the same default as the WaveSpeed CLI and MCP server; pass `model="wavespeed-ai/minimax-h3/text-to-video"` for a lower price): ```python from langchain_wavespeed import WaveSpeedVideoGeneration diff --git a/langchain_wavespeed/tools.py b/langchain_wavespeed/tools.py index 45eba7d..f49ff08 100644 --- a/langchain_wavespeed/tools.py +++ b/langchain_wavespeed/tools.py @@ -203,7 +203,7 @@ class WaveSpeedVideoGeneration(_BaseWaveSpeedTool): ) args_schema: type[BaseModel] = VideoGenerationInput model: str = Field( - default="wavespeed-ai/minimax-h3/text-to-video", + default="bytedance/seedance-2.5/text-to-video", description="WaveSpeed model id to run.", ) diff --git a/tests/unit_tests/test_tools.py b/tests/unit_tests/test_tools.py index 8a015db..a892dbc 100644 --- a/tests/unit_tests/test_tools.py +++ b/tests/unit_tests/test_tools.py @@ -56,7 +56,7 @@ def test_video_generation_invokes_default_model() -> None: result = tool.invoke({"prompt": "a drone shot", "duration": 5}) assert result == VIDEO_URL args, _ = client.run.call_args - assert args[0] == "wavespeed-ai/minimax-h3/text-to-video" + assert args[0] == "bytedance/seedance-2.5/text-to-video" assert args[1] == {"prompt": "a drone shot", "duration": 5} From 6f1f49aea653120e154fbbadb584acb270183a2e Mon Sep 17 00:00:00 2001 From: chengzeyi Date: Thu, 5 Nov 2026 15:41:53 +0000 Subject: [PATCH 2/3] chore: release 0.1.4 Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 960c9ee..7046408 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "langchain-wavespeed" -version = "0.1.3" +version = "0.1.4" description = "An integration package connecting WaveSpeed AI and LangChain" readme = "README.md" license = { text = "MIT" } From 3e985c26b7fb1d330c5b698ae26b2eb27787b374 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 16:05:07 +0000 Subject: [PATCH 3/3] chore(deps): bump the actions group across 1 directory with 3 updates Bumps the actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `actions/checkout` from 3.6.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.6.0...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `actions/setup-python` from 3.1.4 to 7.1.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3.1.4...6d4fd22b20465ccc0f7354476588e8df7c9ca0e0) Updates `pypa/gh-action-pypi-publish` from 1.14.1 to 1.14.3 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/ba38be9e461d3875417946c167d0b5f3d385a247...7245906fb61fa33a13554f9d5fb856fe61758086) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .github/workflows/python-publish.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2adadfb..e69e1e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,10 @@ jobs: matrix: python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: ${{ matrix.python-version }} - name: Install diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e6e92e2..acb438a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -22,12 +22,12 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: '3.11' @@ -40,4 +40,4 @@ jobs: run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # release/v1 + uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1