ai-connector -> ai
This commit is contained in:
parent
52a209c57a
commit
5744f56ff6
11 changed files with 9 additions and 33 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { type Message } from 'ai-connector'
|
||||
import { type Message } from 'ai'
|
||||
|
||||
import { Separator } from '@/components/ui/separator'
|
||||
import { ChatMessage } from '@/components/chat-message'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use client'
|
||||
|
||||
import { type Message } from 'ai-connector'
|
||||
import { type Message } from 'ai'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { IconCheck, IconCopy } from '@/components/ui/icons'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Message } from 'ai-connector'
|
||||
import { Message } from 'ai'
|
||||
import remarkGfm from 'remark-gfm'
|
||||
import remarkMath from 'remark-math'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { type UseChatHelpers } from 'ai-connector/react'
|
||||
import { type UseChatHelpers } from 'ai/react'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { PromptForm } from '@/components/prompt-form'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use client'
|
||||
|
||||
import { useChat, type Message } from 'ai-connector/react'
|
||||
import { useChat, type Message } from 'ai/react'
|
||||
|
||||
import { cn } from '@/lib/utils'
|
||||
import { ChatList } from '@/components/chat-list'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { UseChatHelpers } from 'ai-connector/react'
|
||||
import { UseChatHelpers } from 'ai/react'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ExternalLink } from '@/components/external-link'
|
||||
|
|
|
|||
|
|
@ -1,7 +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 { UseChatHelpers } from 'ai/react'
|
||||
|
||||
import { useEnterSubmit } from '@/lib/hooks/use-enter-submit'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue