ide-assi 0.256.0 → 0.258.0
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/dist/bundle.cjs.js
CHANGED
|
@@ -193439,7 +193439,7 @@ class IdeAi
|
|
|
193439
193439
|
switch (this.#parent.settings.server) {
|
|
193440
193440
|
case "chatopenai":
|
|
193441
193441
|
this.#model = new ChatOpenAI({
|
|
193442
|
-
modelName:
|
|
193442
|
+
modelName: this.#parent.settings.model,
|
|
193443
193443
|
openAIApiKey: this.#parent.settings.CHATOPENAI_API_KEY,
|
|
193444
193444
|
configuration: {
|
|
193445
193445
|
baseURL: "https://openrouter.ai/api/v1",
|
|
@@ -194124,7 +194124,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
194124
194124
|
<label for="server">Server:</label>
|
|
194125
194125
|
</div>
|
|
194126
194126
|
<div class="line contents">
|
|
194127
|
-
<label><input name="server" type="radio" value="
|
|
194127
|
+
<label><input name="server" type="radio" value="chatopenai" checked>Chat Open AI</label>
|
|
194128
|
+
<label><input name="server" type="radio" value="gemini">Gemini</label>
|
|
194128
194129
|
<label><input name="server" type="radio" value="openai">Open AI</label>
|
|
194129
194130
|
<label><input name="server" type="radio" value="ollama">Ollama</label>
|
|
194130
194131
|
</div>
|
|
@@ -194159,6 +194160,14 @@ class ideAssiSettings extends HTMLElement
|
|
|
194159
194160
|
<option value="gemini-pro">gemini-pro</option>
|
|
194160
194161
|
</select>
|
|
194161
194162
|
</div>
|
|
194163
|
+
<div class="line subject chatopenai">
|
|
194164
|
+
<label for="chatopenaiModel">Model:</label>
|
|
194165
|
+
</div>
|
|
194166
|
+
<div class="line contents gemini">
|
|
194167
|
+
<select id="chatopenaiModel">
|
|
194168
|
+
<option value="google/gemma-2-9b-it">google/gemma-2-9b-it</option>
|
|
194169
|
+
</select>
|
|
194170
|
+
</div>
|
|
194162
194171
|
<div class="line subject openai">
|
|
194163
194172
|
<label for="openaiModel">Model:</label>
|
|
194164
194173
|
</div>
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193435,7 +193435,7 @@ class IdeAi
|
|
|
193435
193435
|
switch (this.#parent.settings.server) {
|
|
193436
193436
|
case "chatopenai":
|
|
193437
193437
|
this.#model = new ChatOpenAI({
|
|
193438
|
-
modelName:
|
|
193438
|
+
modelName: this.#parent.settings.model,
|
|
193439
193439
|
openAIApiKey: this.#parent.settings.CHATOPENAI_API_KEY,
|
|
193440
193440
|
configuration: {
|
|
193441
193441
|
baseURL: "https://openrouter.ai/api/v1",
|
|
@@ -194120,7 +194120,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
194120
194120
|
<label for="server">Server:</label>
|
|
194121
194121
|
</div>
|
|
194122
194122
|
<div class="line contents">
|
|
194123
|
-
<label><input name="server" type="radio" value="
|
|
194123
|
+
<label><input name="server" type="radio" value="chatopenai" checked>Chat Open AI</label>
|
|
194124
|
+
<label><input name="server" type="radio" value="gemini">Gemini</label>
|
|
194124
194125
|
<label><input name="server" type="radio" value="openai">Open AI</label>
|
|
194125
194126
|
<label><input name="server" type="radio" value="ollama">Ollama</label>
|
|
194126
194127
|
</div>
|
|
@@ -194155,6 +194156,14 @@ class ideAssiSettings extends HTMLElement
|
|
|
194155
194156
|
<option value="gemini-pro">gemini-pro</option>
|
|
194156
194157
|
</select>
|
|
194157
194158
|
</div>
|
|
194159
|
+
<div class="line subject chatopenai">
|
|
194160
|
+
<label for="chatopenaiModel">Model:</label>
|
|
194161
|
+
</div>
|
|
194162
|
+
<div class="line contents gemini">
|
|
194163
|
+
<select id="chatopenaiModel">
|
|
194164
|
+
<option value="google/gemma-2-9b-it">google/gemma-2-9b-it</option>
|
|
194165
|
+
</select>
|
|
194166
|
+
</div>
|
|
194158
194167
|
<div class="line subject openai">
|
|
194159
194168
|
<label for="openaiModel">Model:</label>
|
|
194160
194169
|
</div>
|
package/dist/components/ideAi.js
CHANGED
|
@@ -23,7 +23,7 @@ export class IdeAi
|
|
|
23
23
|
switch (this.#parent.settings.server) {
|
|
24
24
|
case "chatopenai":
|
|
25
25
|
this.#model = new ChatOpenAI({
|
|
26
|
-
modelName:
|
|
26
|
+
modelName: this.#parent.settings.model,
|
|
27
27
|
openAIApiKey: this.#parent.settings.CHATOPENAI_API_KEY,
|
|
28
28
|
configuration: {
|
|
29
29
|
baseURL: "https://openrouter.ai/api/v1",
|
|
@@ -59,7 +59,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
59
59
|
<label for="server">Server:</label>
|
|
60
60
|
</div>
|
|
61
61
|
<div class="line contents">
|
|
62
|
-
<label><input name="server" type="radio" value="
|
|
62
|
+
<label><input name="server" type="radio" value="chatopenai" checked>Chat Open AI</label>
|
|
63
|
+
<label><input name="server" type="radio" value="gemini">Gemini</label>
|
|
63
64
|
<label><input name="server" type="radio" value="openai">Open AI</label>
|
|
64
65
|
<label><input name="server" type="radio" value="ollama">Ollama</label>
|
|
65
66
|
</div>
|
|
@@ -94,6 +95,14 @@ class ideAssiSettings extends HTMLElement
|
|
|
94
95
|
<option value="gemini-pro">gemini-pro</option>
|
|
95
96
|
</select>
|
|
96
97
|
</div>
|
|
98
|
+
<div class="line subject chatopenai">
|
|
99
|
+
<label for="chatopenaiModel">Model:</label>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="line contents gemini">
|
|
102
|
+
<select id="chatopenaiModel">
|
|
103
|
+
<option value="google/gemma-2-9b-it">google/gemma-2-9b-it</option>
|
|
104
|
+
</select>
|
|
105
|
+
</div>
|
|
97
106
|
<div class="line subject openai">
|
|
98
107
|
<label for="openaiModel">Model:</label>
|
|
99
108
|
</div>
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -23,7 +23,7 @@ export class IdeAi
|
|
|
23
23
|
switch (this.#parent.settings.server) {
|
|
24
24
|
case "chatopenai":
|
|
25
25
|
this.#model = new ChatOpenAI({
|
|
26
|
-
modelName:
|
|
26
|
+
modelName: this.#parent.settings.model,
|
|
27
27
|
openAIApiKey: this.#parent.settings.CHATOPENAI_API_KEY,
|
|
28
28
|
configuration: {
|
|
29
29
|
baseURL: "https://openrouter.ai/api/v1",
|
|
@@ -59,7 +59,8 @@ class ideAssiSettings extends HTMLElement
|
|
|
59
59
|
<label for="server">Server:</label>
|
|
60
60
|
</div>
|
|
61
61
|
<div class="line contents">
|
|
62
|
-
<label><input name="server" type="radio" value="
|
|
62
|
+
<label><input name="server" type="radio" value="chatopenai" checked>Chat Open AI</label>
|
|
63
|
+
<label><input name="server" type="radio" value="gemini">Gemini</label>
|
|
63
64
|
<label><input name="server" type="radio" value="openai">Open AI</label>
|
|
64
65
|
<label><input name="server" type="radio" value="ollama">Ollama</label>
|
|
65
66
|
</div>
|
|
@@ -94,6 +95,14 @@ class ideAssiSettings extends HTMLElement
|
|
|
94
95
|
<option value="gemini-pro">gemini-pro</option>
|
|
95
96
|
</select>
|
|
96
97
|
</div>
|
|
98
|
+
<div class="line subject chatopenai">
|
|
99
|
+
<label for="chatopenaiModel">Model:</label>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="line contents gemini">
|
|
102
|
+
<select id="chatopenaiModel">
|
|
103
|
+
<option value="google/gemma-2-9b-it">google/gemma-2-9b-it</option>
|
|
104
|
+
</select>
|
|
105
|
+
</div>
|
|
97
106
|
<div class="line subject openai">
|
|
98
107
|
<label for="openaiModel">Model:</label>
|
|
99
108
|
</div>
|