refactoring and clean up of chat cliet
This commit is contained in:
14
packages/chat-client/src/config/constants.js
Normal file
14
packages/chat-client/src/config/constants.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export const MODELS = [
|
||||
{ value: 'companion:latest', label: 'Companion' },
|
||||
{ value: 'mistral-nemo:latest', label: 'Mistral Nemo' },
|
||||
{ value: 'coder:latest', label: 'Coder' },
|
||||
{ value: 'qwen2.5-coder:14b', label: 'Qwen 2.5 Coder 14B' },
|
||||
];
|
||||
|
||||
export const DEFAULT_MODEL = MODELS[0].value;
|
||||
|
||||
export const API_DEFAULTS = {
|
||||
SESSIONS_LIMIT: 20,
|
||||
HISTORY_LIMIT: 50,
|
||||
OFFSET: 0,
|
||||
}
|
||||
Reference in New Issue
Block a user