Skip to content

[Partner Nodes] fix(KlingTextToVideoNode): validation error for "kling-v2-master" model#14418

Merged
bigcat88 merged 1 commit into
masterfrom
fix/api-nodes/kling-v2-master-model
Jun 11, 2026
Merged

[Partner Nodes] fix(KlingTextToVideoNode): validation error for "kling-v2-master" model#14418
bigcat88 merged 1 commit into
masterfrom
fix/api-nodes/kling-v2-master-model

Conversation

@bigcat88

@bigcat88 bigcat88 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The model_name enum on KlingText2VideoRequest went stale and was missing kling-v2-master.
Replaced it with a plain string per our Partner-nodes convention (the widget already constrains the values)

API Node PR Checklist

Scope

  • Is API Node Change

Pricing & Billing

  • Need pricing update
  • No pricing update

If Need pricing update:

  • Metronome rate cards updated
  • Auto‑billing tests updated and passing

QA

  • QA done
  • QA not required

Comms

  • Informed Kosinkadink

…g-v2-master" model

Signed-off-by: bigcat88 <bigcat88@icloud.com>
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR removes a type wrapper from the text-to-video request construction in the Kling node. The execute_text2video function now passes model_name directly to the KlingText2VideoRequest payload instead of converting it via KlingVideoGenModelName(...). This is a single-line change affecting how the model name parameter is handled when building the request.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing a validation error in KlingTextToVideoNode by addressing a missing model name in the enum.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description clearly explains the issue (stale enum missing kling-v2-master) and the solution (replace with plain string following Partner-nodes convention).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bigcat88 bigcat88 merged commit fb991e2 into master Jun 11, 2026
17 checks passed
@bigcat88 bigcat88 deleted the fix/api-nodes/kling-v2-master-model branch June 11, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants