fix: use ai/react
This commit is contained in:
parent
f2c71a0f9d
commit
5c01f8a637
4 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { type UseChatHelpers } from 'ai-connector'
|
||||
import { type UseChatHelpers } from 'ai-connector/react'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ExternalLink } from '@/components/external-link'
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { cn } from '@/lib/utils'
|
||||
import { UseChatHelpers } from 'ai-connector/react'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ExternalLink } from '@/components/external-link'
|
||||
import { IconArrowRight } from '@/components/ui/icons'
|
||||
import { UseChatHelpers } from 'ai-connector'
|
||||
|
||||
const exampleMessages = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import * as React from 'react'
|
||||
import Link from 'next/link'
|
||||
import Textarea from 'react-textarea-autosize'
|
||||
import { UseChatHelpers } from 'ai-connector/react'
|
||||
|
||||
import { useEnterSubmit } from '@/lib/hooks/use-enter-submit'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
|
@ -12,7 +13,6 @@ import {
|
|||
TooltipTrigger
|
||||
} from '@/components/ui/tooltip'
|
||||
import { IconArrowElbow, IconPlus } from '@/components/ui/icons'
|
||||
import { UseChatHelpers } from 'ai-connector'
|
||||
|
||||
export interface PromptProps
|
||||
extends Pick<UseChatHelpers, 'input' | 'setInput'> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue