mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
refactor(initializeFunctionsAgent.js): remove unused code and comments (#544)
feat(initializeFunctionsAgent.js): add support for openai-functions agent type feat(askGPTPlugins.js): change default agent to functions and skip completion feat(cleanupPreset.js): change default agent to functions and skip completion feat(getDefaultConversation.js): change default agent to functions and skip completion feat(handleSubmit.js): change default agent to functions and skip completion
This commit is contained in:
parent
731304f96a
commit
7efb90366f
5 changed files with 9 additions and 21 deletions
|
|
@ -39,8 +39,8 @@ router.post('/', requireJwtAuth, async (req, res) => {
|
|||
if (endpoint !== 'gptPlugins') return handleError(res, { text: 'Illegal request' });
|
||||
|
||||
const agentOptions = req.body?.agentOptions ?? {
|
||||
agent: 'classic',
|
||||
skipCompletion: false,
|
||||
agent: 'functions',
|
||||
skipCompletion: true,
|
||||
model: 'gpt-3.5-turbo',
|
||||
temperature: 0,
|
||||
// top_p: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue