forked from Shinonome/dots-hyprland
ai: call enhancements prompt cuz it's bad sometimes
This commit is contained in:
@@ -170,7 +170,7 @@ const GPTSettings = () => MarginRevealer({
|
|||||||
{ value: 0.50, name: getString('Balanced'), },
|
{ value: 0.50, name: getString('Balanced'), },
|
||||||
{ value: 1.00, name: getString('Creative'), },
|
{ value: 1.00, name: getString('Creative'), },
|
||||||
],
|
],
|
||||||
initIndex: 2,
|
initIndex: 1,
|
||||||
onChange: (value, name) => {
|
onChange: (value, name) => {
|
||||||
GPTService.temperature = value;
|
GPTService.temperature = value;
|
||||||
},
|
},
|
||||||
@@ -183,7 +183,7 @@ const GPTSettings = () => MarginRevealer({
|
|||||||
children: [
|
children: [
|
||||||
ConfigToggle({
|
ConfigToggle({
|
||||||
icon: 'model_training',
|
icon: 'model_training',
|
||||||
name: getString('Enhancements'),
|
name: getString('Prompt'),
|
||||||
desc: getString('Tells the model:\n- It\'s a Linux sidebar assistant\n- Be brief and use bullet points'),
|
desc: getString('Tells the model:\n- It\'s a Linux sidebar assistant\n- Be brief and use bullet points'),
|
||||||
initValue: GPTService.assistantPrompt,
|
initValue: GPTService.assistantPrompt,
|
||||||
onChange: (self, newValue) => {
|
onChange: (self, newValue) => {
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export const GeminiSettings = () => MarginRevealer({
|
|||||||
{ value: 0.50, name: getString('Balanced'), },
|
{ value: 0.50, name: getString('Balanced'), },
|
||||||
{ value: 1.00, name: getString('Creative'), },
|
{ value: 1.00, name: getString('Creative'), },
|
||||||
],
|
],
|
||||||
initIndex: 2,
|
initIndex: 1,
|
||||||
onChange: (value, name) => {
|
onChange: (value, name) => {
|
||||||
GeminiService.temperature = value;
|
GeminiService.temperature = value;
|
||||||
},
|
},
|
||||||
@@ -96,7 +96,7 @@ export const GeminiSettings = () => MarginRevealer({
|
|||||||
children: [
|
children: [
|
||||||
ConfigToggle({
|
ConfigToggle({
|
||||||
icon: 'model_training',
|
icon: 'model_training',
|
||||||
name: getString('Enhancements'),
|
name: getString('Prompt'),
|
||||||
desc: getString("Tells Gemini:\n- It's a Linux sidebar assistant\n- Be brief and use bullet points"),
|
desc: getString("Tells Gemini:\n- It's a Linux sidebar assistant\n- Be brief and use bullet points"),
|
||||||
initValue: GeminiService.assistantPrompt,
|
initValue: GeminiService.assistantPrompt,
|
||||||
onChange: (self, newValue) => {
|
onChange: (self, newValue) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user