feat(custom-openai): temperature
This commit is contained in:
parent
446adbef3f
commit
98c185c12e
10 changed files with 51 additions and 6 deletions
|
|
@ -13,6 +13,7 @@ import {
|
|||
getCustomOpenaiApiUrl,
|
||||
getCustomOpenaiApiKey,
|
||||
getCustomOpenaiModelName,
|
||||
getCustomOpenaiTemperature,
|
||||
} from '../config';
|
||||
import logger from '../utils/logger';
|
||||
|
||||
|
|
@ -60,6 +61,7 @@ router.get('/', async (_, res) => {
|
|||
config['customOpenaiApiUrl'] = getCustomOpenaiApiUrl();
|
||||
config['customOpenaiApiKey'] = getCustomOpenaiApiKey();
|
||||
config['customOpenaiModelName'] = getCustomOpenaiModelName();
|
||||
config['customOpenaiTemperature'] = getCustomOpenaiTemperature();
|
||||
|
||||
res.status(200).json(config);
|
||||
} catch (err: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue