Skip to content

fix(websearch): remove 'deep' option from search type and update descriptions#21093

Open
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:feature/session-list-last-msg
Open

fix(websearch): remove 'deep' option from search type and update descriptions#21093
Danztee wants to merge 1 commit intoanomalyco:devfrom
Danztee:feature/session-list-last-msg

Conversation

@Danztee
Copy link
Copy Markdown
Contributor

@Danztee Danztee commented Apr 5, 2026

Issue for this PR

Closes #21044

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes a mismatch in the websearch tool config.

We were advertising deep as a valid search type, but the Exa backend only accepts auto and fast. So if a user passed deep, it failed at runtime with a validation error from the backend.

This change removes deep from the tool schema and updates the tool description text to match what the backend actually supports. That way we don’t present an option that can never work.

How did you verify your code works?

  • Reproduced the issue first using type: "deep" and confirmed backend rejection
  • Updated schema/docs to only allow auto and fast.
  • Ran bun turbo typecheck.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@Danztee
Copy link
Copy Markdown
Contributor Author

Danztee commented Apr 5, 2026

Hi @adamdotdevin can you check this pls??

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.

websearch tool won't accept deep as type as declared

1 participant