Skip to content

Conversation

@bfollington
Copy link
Contributor

@bfollington bfollington commented Oct 8, 2025

Fixes searchWeb


Summary by cubic

Reverted pattern tool result handling to promise-based waiting so we wait for the actual output, not just the transaction commit. Fixes searchWeb returning incomplete results.

  • Bug Fixes
    • For pattern calls, use a sink + Promise to resolve when a result is available.
    • Stop the runner after receiving the result and return the JSON value.
    • Non-pattern calls keep idle + get behavior.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@bfollington bfollington merged commit 700e46c into main Oct 8, 2025
8 checks passed
@bfollington bfollington deleted the fix/2025-10-09-pattern-tool-results branch October 8, 2025 23:34
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