mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-26 21:28:50 +01:00
feat: user_provided token for plugins, temp remove user_provided azure creds for Plugins until solution is made
This commit is contained in:
parent
5b30ab5d43
commit
5ad0ef331f
7 changed files with 29 additions and 18 deletions
|
|
@ -92,9 +92,6 @@ const useMessageHandler = () => {
|
|||
skipCompletion: true,
|
||||
model: 'gpt-3.5-turbo',
|
||||
temperature: 0,
|
||||
// top_p: 1,
|
||||
// presence_penalty: 0,
|
||||
// frequency_penalty: 0
|
||||
};
|
||||
endpointOption = {
|
||||
endpoint,
|
||||
|
|
@ -109,6 +106,7 @@ const useMessageHandler = () => {
|
|||
top_p: currentConversation?.top_p ?? 1,
|
||||
presence_penalty: currentConversation?.presence_penalty ?? 0,
|
||||
frequency_penalty: currentConversation?.frequency_penalty ?? 0,
|
||||
token: endpointsConfig[endpoint]?.userProvide ? getToken() : null,
|
||||
agentOptions
|
||||
};
|
||||
responseSender = 'ChatGPT';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue