mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-04 17:48:50 +01:00
feat: feat: new endpoint-style submit
This commit is contained in:
parent
089ca5f120
commit
adcc021c9e
22 changed files with 566 additions and 478 deletions
|
|
@ -79,7 +79,7 @@ const useConversation = () => {
|
|||
if (endpoint === null)
|
||||
// get the default model
|
||||
conversation = getDefaultConversation({ conversation, availableEndpoints, prevConversation });
|
||||
|
||||
console.log(conversation);
|
||||
setConversation(conversation);
|
||||
setMessages(messages);
|
||||
resetLatestMessage();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import conversation from './conversation';
|
||||
import conversations from './conversations';
|
||||
import models from './models';
|
||||
import endpoints from './endpoints';
|
||||
import user from './user';
|
||||
import text from './text';
|
||||
import submission from './submission';
|
||||
|
|
@ -10,6 +11,7 @@ export default {
|
|||
...conversation,
|
||||
...conversations,
|
||||
...models,
|
||||
...endpoints,
|
||||
...user,
|
||||
text,
|
||||
...submission,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue