agentgui 1.0.445 → 1.0.446
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/package.json +1 -1
- package/static/js/client.js +1 -2
package/package.json
CHANGED
package/static/js/client.js
CHANGED
|
@@ -372,7 +372,6 @@ class AgentGUIClient {
|
|
|
372
372
|
if (this.ui.agentSelector) {
|
|
373
373
|
this.ui.agentSelector.addEventListener('change', () => {
|
|
374
374
|
if (!this._agentLocked) {
|
|
375
|
-
this.loadModelsForAgent(this.getEffectiveAgentId());
|
|
376
375
|
this.saveAgentAndModelToConversation();
|
|
377
376
|
}
|
|
378
377
|
});
|
|
@@ -1875,7 +1874,7 @@ class AgentGUIClient {
|
|
|
1875
1874
|
.map(a => `<option value="${a.id}">${a.name}</option>`)
|
|
1876
1875
|
.join('');
|
|
1877
1876
|
this.ui.agentSelector.style.display = 'inline-block';
|
|
1878
|
-
this.loadModelsForAgent(
|
|
1877
|
+
this.loadModelsForAgent(cliAgentId);
|
|
1879
1878
|
}
|
|
1880
1879
|
} catch (_) {
|
|
1881
1880
|
// No sub-agents available for this CLI tool — keep hidden
|