← Files AlpicARCHIVED FILE

skills/build-mcp-apps/references/prompt-llm.md

455 Bytes · Oct 4, 2026 · 12:10 UTC

↓ Download file

# Prompt model

Trigger an LLM completion from user interaction with `useSendFollowUpMessage`.

**Example:**
```tsx
import { useSendFollowUpMessage } from "skybridge/web";

export function FindBestFlightButton() {
  const sendMessage = useSendFollowUpMessage();

  return (
    <button onClick={() => sendMessage({
      prompt: "Find the best flight option, based on user preferences and agenda."
    })}>
      Find Best Flight
    </button>
  );
}
```

SHA-256: 28127f397913335fe836d90feb94c21233a62d35bfbb31363cf0e7149bb1ada6