mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
📋 feat: Log Custom Config File and Add Known Model Limits to Custom Endpoint (#1657)
* refactor(custom): add all recognized models to maxTokensMap for custom endpoint * feat(librechat.yaml): log the custom config file on initial load * fix(OpenAIClient): pass endpointType/endpoint to `getModelMaxTokens` call
This commit is contained in:
parent
c470147ea2
commit
f7f7f929a0
3 changed files with 27 additions and 21 deletions
|
|
@ -25,7 +25,8 @@ async function loadCustomConfig() {
|
|||
logger.error(`Invalid custom config file at ${configPath}`, result.error);
|
||||
return null;
|
||||
} else {
|
||||
logger.info('Loaded custom config file');
|
||||
logger.info('Loaded custom config file:');
|
||||
logger.info(JSON.stringify(customConfig, null, 2));
|
||||
}
|
||||
|
||||
if (customConfig.cache) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue