@nomad-e/bluma-cli 0.0.54 → 0.0.56
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/main.js +4 -5
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1937,7 +1937,7 @@ var BluMaAgent = class {
|
|
|
1937
1937
|
eventBus;
|
|
1938
1938
|
mcpClient;
|
|
1939
1939
|
feedbackSystem;
|
|
1940
|
-
maxContextTurns =
|
|
1940
|
+
maxContextTurns = 30;
|
|
1941
1941
|
isInterrupted = false;
|
|
1942
1942
|
constructor(sessionId2, eventBus2, llm, deploymentName, mcpClient, feedbackSystem) {
|
|
1943
1943
|
this.sessionId = sessionId2;
|
|
@@ -2066,13 +2066,12 @@ ${editData.error.display}`;
|
|
|
2066
2066
|
const response = await this.llm.chatCompletion({
|
|
2067
2067
|
model: this.deploymentName,
|
|
2068
2068
|
messages: contextWindow,
|
|
2069
|
-
temperature: 0,
|
|
2069
|
+
temperature: 0.2,
|
|
2070
2070
|
tools: this.mcpClient.getAvailableTools(),
|
|
2071
2071
|
tool_choice: "required",
|
|
2072
2072
|
reasoning_effort: "high",
|
|
2073
|
-
parallel_tool_calls: false
|
|
2074
|
-
max_tokens:
|
|
2075
|
-
// Limite de tokens para evitar respostas muito longas
|
|
2073
|
+
parallel_tool_calls: false
|
|
2074
|
+
// max_tokens: 512, // Limite de tokens para evitar respostas muito longas
|
|
2076
2075
|
});
|
|
2077
2076
|
if (this.isInterrupted) {
|
|
2078
2077
|
this.eventBus.emit("backend_message", { type: "info", message: "Agent task cancelled by user." });
|