agentgui 1.0.411 → 1.0.412
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/lib/ws-optimizer.js +1 -1
- package/package.json +1 -1
- package/server.js +1 -2
package/lib/ws-optimizer.js
CHANGED
|
@@ -70,7 +70,7 @@ class ClientQueue {
|
|
|
70
70
|
this.windowStart = now;
|
|
71
71
|
this.rateLimitWarned = false;
|
|
72
72
|
}
|
|
73
|
-
const batch = [...this.highPriority.splice(0), ...this.normalPriority.splice(0
|
|
73
|
+
const batch = [...this.highPriority.splice(0), ...this.normalPriority.splice(0), ...this.lowPriority.splice(0, 5)];
|
|
74
74
|
if (batch.length === 0) return;
|
|
75
75
|
const messagesThisSecond = this.messageCount + batch.length;
|
|
76
76
|
if (messagesThisSecond > 100) {
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -504,10 +504,9 @@ async function getModelsForAgent(agentId) {
|
|
|
504
504
|
|
|
505
505
|
if (agentId === 'claude-code') {
|
|
506
506
|
const hardcodedModels = [
|
|
507
|
-
{ id: '', label: 'Default' },
|
|
507
|
+
{ id: 'haiku', label: 'Haiku (Default)' },
|
|
508
508
|
{ id: 'sonnet', label: 'Sonnet' },
|
|
509
509
|
{ id: 'opus', label: 'Opus' },
|
|
510
|
-
{ id: 'haiku', label: 'Haiku' },
|
|
511
510
|
];
|
|
512
511
|
|
|
513
512
|
const apiModels = await fetchClaudeModelsFromAPI();
|