A scroll-to-anchor plugin for MulmoChat.
This plugin allows the AI to scroll the view to a specific tool result by its anchor ID. Useful for navigating between multiple results in a conversation.
yarn add @gui-chat-plugin/scroll-to-anchor// In src/tools/index.ts
import ScrollToAnchorPlugin from "@gui-chat-plugin/scroll-to-anchor/vue";
const pluginList = [
// ... other plugins
ScrollToAnchorPlugin,
];
// In src/main.ts
import "@gui-chat-plugin/scroll-to-anchor/style.css";import { pluginCore, TOOL_NAME } from "@gui-chat-plugin/scroll-to-anchor";| Export | Description |
|---|---|
@gui-chat-plugin/scroll-to-anchor |
Core (framework-agnostic) |
@gui-chat-plugin/scroll-to-anchor/vue |
Vue implementation |
@gui-chat-plugin/scroll-to-anchor/style.css |
Tailwind CSS styles |
- "Show me the previous image" (after generating multiple images)
- "Go back to the first result"
- "Scroll to the quiz"
yarn install
yarn dev # Start dev server
yarn build # Build
yarn typecheck # Type check
yarn lint # LintMIT