From 3efc6edd4c0beeacfe618a3124c881a65fc15d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wall-E=20=F0=9F=A4=96?= <13101565+mwmcode@users.noreply.github.com> Date: Thu, 11 Dec 2025 11:14:46 -0500 Subject: [PATCH] missing import added missing import 'chat' --- docs/getting-started/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index 67395478..4783a4a1 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -27,7 +27,7 @@ The framework-agnostic core of TanStack AI provides the building blocks for crea TanStack AI lets you define a tool once and provide environment-specific implementations. Using `toolDefinition()` to declare the tool’s input/output types and the server behavior with `.server()` (or a client implementation with `.client()`). These isomorphic tools can be invoked from the AI runtime regardless of framework. ```typescript -import { toolDefinition } from '@tanstack/ai' +import { toolDefinition, chat } from '@tanstack/ai' // Define a tool const getProductsDef = toolDefinition({ @@ -94,4 +94,4 @@ With the help of adapters, TanStack AI can connect to various LLM providers. Ava - [Quick Start Guide](./quick-start) - Get up and running in minutes - [Tools Guide](../guides/tools) - Learn about the isomorphic tool system -- [API Reference](../api/ai) - Explore the full API \ No newline at end of file +- [API Reference](../api/ai) - Explore the full API