mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-22 15:28:13 +00:00
feat(config): add measurement unit
This commit is contained in:
@@ -50,6 +50,25 @@ class ConfigManager {
|
|||||||
'e.g., "Respond in a friendly and concise tone" or "Use British English and format answers as bullet points."',
|
'e.g., "Respond in a friendly and concise tone" or "Use British English and format answers as bullet points."',
|
||||||
scope: 'client',
|
scope: 'client',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Measurement Unit',
|
||||||
|
key: 'measureUnit',
|
||||||
|
type: 'select',
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
name: 'Imperial',
|
||||||
|
value: 'Imperial',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Metric',
|
||||||
|
value: 'Metric',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
required: false,
|
||||||
|
description: 'Choose between Metric and Imperial measurement unit.',
|
||||||
|
default: 'Metric',
|
||||||
|
scope: 'client',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
modelProviders: [],
|
modelProviders: [],
|
||||||
search: [
|
search: [
|
||||||
|
Reference in New Issue
Block a user