0agent 1.0.76 → 1.0.77
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/daemon.mjs +7 -0
- package/package.json +1 -1
package/dist/daemon.mjs
CHANGED
|
@@ -5302,6 +5302,13 @@ var init_AgentExecutor = __esm({
|
|
|
5302
5302
|
const messages = [
|
|
5303
5303
|
{ role: "user", content: task }
|
|
5304
5304
|
];
|
|
5305
|
+
const isJustdo = /book|file.*itr|tax.*file|irctc|train.*ticket|flight|passport|appointment|login.*portal|pan.*card|aadhaar|monitor.*watch|price.*drop|slot.*available|justdo/i.test(task);
|
|
5306
|
+
if (isJustdo) {
|
|
5307
|
+
messages.push(
|
|
5308
|
+
{ role: "assistant", content: "I can help with that. Let me start collecting the information I need." },
|
|
5309
|
+
{ role: "user", content: "Yes, go ahead." }
|
|
5310
|
+
);
|
|
5311
|
+
}
|
|
5305
5312
|
const contextLimit = LLMExecutor.getContextWindowTokens(this.llm["config"]?.model ?? "claude-sonnet-4-6");
|
|
5306
5313
|
if (isSelfMod) {
|
|
5307
5314
|
this.maxIterations = Math.max(this.maxIterations, 50);
|