mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-13 13:04:24 +01:00
Move data provider to shared package (#582)
* create data-provider package and move code from data-provider folder to be shared between apps * fix type issues * add packages to ignore * add new data-provider package to apps * refactor: change client imports to use @librechat/data-provider package * include data-provider build script in frontend build * fix type issue after rebasing * delete admin/package.json from this branch * update test ci script to include building of data-provider package * Try using regular build for test action * Switch frontend-review back to build:ci * Remove loginRedirect from Login.tsx * Add ChatGPT back to EModelEndpoint
This commit is contained in:
parent
d0078d478d
commit
04e4259005
48 changed files with 1472 additions and 141 deletions
|
|
@ -10,7 +10,7 @@ import HoverButtons from './HoverButtons';
|
|||
import SiblingSwitch from './SiblingSwitch';
|
||||
import getIcon from '~/utils/getIcon';
|
||||
import { useMessageHandler } from '~/utils/handleSubmit';
|
||||
import { useGetConversationByIdQuery } from '~/data-provider';
|
||||
import { useGetConversationByIdQuery } from '@librechat/data-provider';
|
||||
import { cn } from '~/utils/';
|
||||
import store from '~/store';
|
||||
import getError from '~/utils/getError';
|
||||
|
|
@ -192,7 +192,7 @@ export default function Message({
|
|||
<div className="markdown prose dark:prose-invert light w-full break-words">
|
||||
{!isCreatedByUser ? (
|
||||
<>
|
||||
<Content content={text} message={message}/>
|
||||
<Content content={text} message={message} />
|
||||
</>
|
||||
) : (
|
||||
<>{text}</>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue