Skip to content

fix: preserve A/B variants in smartlead duplicate command#2

Merged
00al merged 1 commit intomainfrom
fix/smartlead-sequence-variants
Apr 14, 2026
Merged

fix: preserve A/B variants in smartlead duplicate command#2
00al merged 1 commit intomainfrom
fix/smartlead-sequence-variants

Conversation

@00al
Copy link
Copy Markdown
Contributor

@00al 00al commented Apr 6, 2026

Summary

  • duplicate command now preserves all A/B test variants when copying campaigns, instead of only copying the first variant's subject/body
  • CLI docstring corrected from variants to seq_variants (matching the Smartlead API field name)
  • SKILL.md updated with seq_variants format and A/B testing documentation

Test plan

  • ruff check and ruff format pass
  • All 16 smartlead tests pass (1 pre-existing failure in test_api_client_no_key_error — tracked in config: add OPENKILN_CONFIG_PATH env var override #1)
  • Manually verified: created campaign 3133669 with 3 variants via seq_variants, confirmed all 3 saved correctly via API

🤖 Generated with Claude Code

…riants

- duplicate command now copies all active variants instead of only the
  first variant's subject/body
- CLI docstring corrected from "variants" to "seq_variants" (matching
  the Smartlead API field name)
- SKILL.md updated with seq_variants format and A/B testing docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@00al 00al merged commit afac401 into main Apr 14, 2026
3 checks passed
@00al 00al deleted the fix/smartlead-sequence-variants branch April 14, 2026 09:41
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.

1 participant