Skip to content

[Bug] Return all conversation messages except the first - #1857

Open
nightcityblade wants to merge 1 commit into
kyegomez:masterfrom
nightcityblade:fix/issue-1853-conversation-slice
Open

[Bug] Return all conversation messages except the first#1857
nightcityblade wants to merge 1 commit into
kyegomez:masterfrom
nightcityblade:fix/issue-1853-conversation-slice

Conversation

@nightcityblade

Copy link
Copy Markdown

Description: Correct both Conversation.return_all_except_first variants to skip exactly one message instead of two. The existing focused tests now use direct assertions, so this regression can no longer be swallowed.

Issue: Addresses item 1 in #1853.

Dependencies: None.

Tag maintainer: General / structures maintainers.

Twitter handle: N/A.

Testing:

  • pytest -q tests/structs/test_conversation.py — 51 passed
  • black swarms/structs/conversation.py tests/structs/test_conversation.py --check --diff — passed
  • ruff check swarms/structs/conversation.py tests/structs/test_conversation.py — passed with the CI-pinned Ruff 0.2.1

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Hello there, thank you for opening an PR ! 🙏🏻 The team was notified and they will get back to you asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant