Skip to content

fix: add Send+Sync bounds to is_parallel_ok callback#6

Merged
Blankll merged 1 commit into
masterfrom
fix/parallel-ok-send-sync
Jun 17, 2026
Merged

fix: add Send+Sync bounds to is_parallel_ok callback#6
Blankll merged 1 commit into
masterfrom
fix/parallel-ok-send-sync

Conversation

@Blankll

@Blankll Blankll commented Jun 17, 2026

Copy link
Copy Markdown
Member

What

Adds Send + Sync bounds to the is_parallel_ok callback parameter in run_agent_loop and run_agent_loop_inner. The callback is used across async task boundaries; without these bounds, it fails to compile in certain async contexts.

Changes

  • &dyn Fn(&str) -> bool&(dyn Fn(&str) -> bool + Send + Sync)

Verification

  • ✅ Build: green
  • ✅ Tests: 62/62 pass

The parallel_ok callback is used across async task boundaries;
without Send+Sync, it fails to compile in certain async contexts.
@Blankll Blankll merged commit be9c2e6 into master Jun 17, 2026
5 checks passed
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