Added model and role translation. Rewrite of code's comments.
This commit is contained in:
@@ -1,9 +1,26 @@
|
||||
/**
|
||||
* @fileoverview This file manages the application's configuration,
|
||||
* loading environment variables and providing them in a structured object.
|
||||
*/
|
||||
/* eslint-disable n/no-process-env */
|
||||
import dotenv from 'dotenv';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
/**
|
||||
* Application configuration object.
|
||||
*/
|
||||
export const config = {
|
||||
/**
|
||||
* The port number for the server to listen on.
|
||||
* Defaults to 11434 if not specified in the environment.
|
||||
* @type {number}
|
||||
*/
|
||||
PORT: Number(process.env.PORT ?? 11434),
|
||||
/**
|
||||
* A flag to enable or disable verbose logging.
|
||||
* Defaults to true if not specified in the environment.
|
||||
* @type {boolean}
|
||||
*/
|
||||
VERBOSE: Boolean(process.env.VERBOSE ?? true),
|
||||
};
|
||||
Reference in New Issue
Block a user