📋 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:
Danny Avila 2024-01-27 08:59:04 -05:00 committed by GitHub
parent c470147ea2
commit f7f7f929a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 21 deletions

View file

@ -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) {