Skip to content

Conversation

zenoachtig
Copy link
Contributor

@zenoachtig zenoachtig commented Aug 22, 2025

  • Add .close() and .dispose() methods on assistant registration
  • Clean up ?ask= URL query param on .close().
  • Add pageAction attributes to internal Assistant object, dictating if and how the page action displays. Only enabled for the GitBook Assistant.
  • Clean up useAIChat implementation to not rely on setting search state within its actions, but use a generic search state setter on all entry points instead (so that it works for all assistants equally).

- Add `.close()` and `.dispose()` methods on assistant registration
- Clean up `?ask=` URL query param on `.close()`.
- Add `pageAction` attributes to internal Assistant object, dictating if and how the page action displays. Only enabled for the GitBook Assistant.
@zenoachtig zenoachtig requested a review from taranvohra August 22, 2025 10:36
Copy link

changeset-bot bot commented Aug 22, 2025

🦋 Changeset detected

Latest commit: 26c001a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@gitbook/browser-types Patch
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

argos-ci bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) ✅ No changes detected - Aug 22, 2025, 1:50 PM
v2-cloudflare (Inspect) 👍 Changes approved 5 changed Aug 22, 2025, 3:11 PM
v2-vercel (Inspect) 👍 Changes approved 4 changed Aug 22, 2025, 1:53 PM

@zenoachtig zenoachtig merged commit 854c448 into main Aug 22, 2025
23 of 24 checks passed
@zenoachtig zenoachtig deleted the custom-assistants-followup branch August 22, 2025 15:32
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.

3 participants