Skip to content

Conversation

@RLKRo
Copy link
Member

@RLKRo RLKRo commented Jul 27, 2023

Description

During context init start_label is added to ctx.labels if ctx.requests is empty. The same does not happen when using pipeline (after the first request is added, there are no labels during actor execution).

This can lead to ctx.label having more items than ctx.requests or ctx.responses at the end of each turn.

Checklist

  • I have covered the code with tests
  • I have added comments to my code to help others understand it
  • I have updated the documentation to reflect the changes
  • I have performed a self-review of the changes

@RLKRo RLKRo added the bug Something isn't working label Jul 27, 2023
@RLKRo RLKRo self-assigned this Jul 27, 2023
@kudep kudep merged commit cd0b082 into dev Jul 27, 2023
@kudep kudep deleted the fix/remove-label-from-context-init branch July 27, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants