mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 23:58:50 +01:00
complete docker setup
This commit is contained in:
parent
ff7b016190
commit
52e529dcbe
12 changed files with 26 additions and 158506 deletions
|
|
@ -23,8 +23,8 @@ export default function Conversation({
|
|||
const { modelMap } = useSelector((state) => state.models);
|
||||
const inputRef = useRef(null);
|
||||
const dispatch = useDispatch();
|
||||
const { trigger } = manualSWR(`http://localhost:3080/messages/${id}`, 'get');
|
||||
const rename = manualSWR(`http://localhost:3080/convos/update`, 'post');
|
||||
const { trigger } = manualSWR(`http://api:3080/messages/${id}`, 'get');
|
||||
const rename = manualSWR(`http://api:3080/convos/update`, 'post');
|
||||
|
||||
const clickHandler = async () => {
|
||||
if (conversationId === id) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { setMessages } from '~/store/messageSlice';
|
|||
export default function DeleteButton({ conversationId, renaming, cancelHandler }) {
|
||||
const dispatch = useDispatch();
|
||||
const { trigger } = manualSWR(
|
||||
`http://localhost:3080/convos/clear`,
|
||||
`http://api:3080/convos/clear`,
|
||||
'post',
|
||||
() => {
|
||||
dispatch(setMessages([]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue