mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
feat: endpoint setting mobile style.
feat: save and endpoint option works!
This commit is contained in:
parent
edaf7c3ad1
commit
46e3ef4049
8 changed files with 91 additions and 38 deletions
|
|
@ -34,9 +34,10 @@ router.post('/', async (req, res) => {
|
|||
model: req.body?.model || 'gpt-3.5-turbo',
|
||||
chatGptLabel: req.body?.chatGptLabel || null,
|
||||
promptPrefix: req.body?.promptPrefix || null,
|
||||
temperature: req.body?.temperature || 0.8,
|
||||
temperature: req.body?.temperature || 1,
|
||||
top_p: req.body?.top_p || 1,
|
||||
presence_penalty: req.body?.presence_penalty || 1
|
||||
presence_penalty: req.body?.presence_penalty || 0,
|
||||
frequency_penalty: req.body?.frequency_penalty || 0
|
||||
};
|
||||
|
||||
console.log('ask log', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue