forked from Shinonome/dots-hyprland
comments
This commit is contained in:
@@ -144,13 +144,13 @@ Item {
|
|||||||
Behavior on activeWorkspaceMargin {
|
Behavior on activeWorkspaceMargin {
|
||||||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||||
}
|
}
|
||||||
Behavior on idx1 {
|
Behavior on idx1 { // Leading anim
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 100
|
duration: 100
|
||||||
easing.type: Easing.OutSine
|
easing.type: Easing.OutSine
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Behavior on idx2 {
|
Behavior on idx2 { // Following anim
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 300
|
duration: 300
|
||||||
easing.type: Easing.OutSine
|
easing.type: Easing.OutSine
|
||||||
|
|||||||
@@ -430,8 +430,7 @@ Singleton {
|
|||||||
"parts": [{ text: root.systemPrompt }]
|
"parts": [{ text: root.systemPrompt }]
|
||||||
},
|
},
|
||||||
"generationConfig": {
|
"generationConfig": {
|
||||||
"temperature": root.temperature,
|
// "temperature": root.temperature,
|
||||||
"responseMimeType": "text/plain",
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
||||||
@@ -450,7 +449,7 @@ Singleton {
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
"stream": true,
|
"stream": true,
|
||||||
"temperature": root.temperature,
|
// "temperature": root.temperature,
|
||||||
};
|
};
|
||||||
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
return model.extraParams ? Object.assign({}, baseData, model.extraParams) : baseData;
|
||||||
}
|
}
|
||||||
@@ -612,7 +611,7 @@ Singleton {
|
|||||||
|
|
||||||
stdout: SplitParser {
|
stdout: SplitParser {
|
||||||
onRead: data => {
|
onRead: data => {
|
||||||
// console.log("RAW DATA: ", data);
|
console.log("RAW DATA: ", data);
|
||||||
if (data.length === 0) return;
|
if (data.length === 0) return;
|
||||||
|
|
||||||
// Handle response line
|
// Handle response line
|
||||||
|
|||||||
Reference in New Issue
Block a user