node-red-contrib-linux-copilot 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/linux-copilot.html +11 -39
- package/package.json +1 -1
package/linux-copilot.html
CHANGED
|
@@ -2,58 +2,30 @@
|
|
|
2
2
|
RED.nodes.registerType('linux-copilot',{
|
|
3
3
|
category: 'function',
|
|
4
4
|
color: '#a6bbcf',
|
|
5
|
-
defaults: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
prioOR: {value: 2},
|
|
10
|
-
prioGEM: {value: 3}
|
|
5
|
+
defaults: { name: {value:""}, chatId: {value:""} },
|
|
6
|
+
credentials: {
|
|
7
|
+
geminiKey: {type:"password"},
|
|
8
|
+
deepseekKey: {type:"password"}
|
|
11
9
|
},
|
|
12
|
-
|
|
13
|
-
geminiKey: {type:"password"},
|
|
14
|
-
openrouterKey: {type:"password"},
|
|
15
|
-
deepseekKey: {type:"password"}
|
|
16
|
-
},
|
|
17
|
-
inputs:1,
|
|
18
|
-
outputs:1,
|
|
19
|
-
icon: "bridge.png",
|
|
10
|
+
inputs:1, outputs:1,
|
|
20
11
|
label: function() { return this.name||"linux-copilot"; }
|
|
21
12
|
});
|
|
22
13
|
</script>
|
|
23
|
-
|
|
24
14
|
<script type="text/html" data-template-name="linux-copilot">
|
|
25
15
|
<div class="form-row">
|
|
26
|
-
<label for="node-input-name"
|
|
27
|
-
<input type="text" id="node-input-name"
|
|
16
|
+
<label for="node-input-name">Nom</label>
|
|
17
|
+
<input type="text" id="node-input-name">
|
|
28
18
|
</div>
|
|
29
19
|
<div class="form-row">
|
|
30
|
-
<label for="node-input-chatId"
|
|
31
|
-
<input type="text" id="node-input-chatId"
|
|
20
|
+
<label for="node-input-chatId">Chat ID Telegram</label>
|
|
21
|
+
<input type="text" id="node-input-chatId">
|
|
32
22
|
</div>
|
|
33
|
-
<hr>
|
|
34
|
-
<h4>Configuration API & Priorités</h4>
|
|
35
23
|
<div class="form-row">
|
|
36
|
-
<label for="node-input-deepseekKey"
|
|
24
|
+
<label for="node-input-deepseekKey">DeepSeek Key</label>
|
|
37
25
|
<input type="password" id="node-input-deepseekKey">
|
|
38
26
|
</div>
|
|
39
27
|
<div class="form-row">
|
|
40
|
-
<label for="node-input-
|
|
41
|
-
<input type="number" id="node-input-prioDS" style="width:70px">
|
|
42
|
-
</div>
|
|
43
|
-
<div class="form-row">
|
|
44
|
-
<label for="node-input-openrouterKey"><i class="fa fa-key"></i> OpenRouter Key</label>
|
|
45
|
-
<input type="password" id="node-input-openrouterKey">
|
|
46
|
-
</div>
|
|
47
|
-
<div class="form-row">
|
|
48
|
-
<label for="node-input-prioOR">Prio OpenRouter</label>
|
|
49
|
-
<input type="number" id="node-input-prioOR" style="width:70px">
|
|
50
|
-
</div>
|
|
51
|
-
<div class="form-row">
|
|
52
|
-
<label for="node-input-geminiKey"><i class="fa fa-key"></i> Gemini Key</label>
|
|
28
|
+
<label for="node-input-geminiKey">Gemini Key</label>
|
|
53
29
|
<input type="password" id="node-input-geminiKey">
|
|
54
30
|
</div>
|
|
55
|
-
<div class="form-row">
|
|
56
|
-
<label for="node-input-prioGEM">Prio Gemini</label>
|
|
57
|
-
<input type="number" id="node-input-prioGEM" style="width:70px">
|
|
58
|
-
</div>
|
|
59
31
|
</script>
|