Refactor DashBot

This commit is contained in:
Ankit Mahato
2025-09-29 07:25:22 +05:30
parent bd86a71fa8
commit f38ee9f5bf
130 changed files with 391 additions and 521 deletions

View File

@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import '../models/models.dart';
import '../utils/utils.dart';
import 'blueprint.dart';
@@ -68,7 +69,7 @@ class AIAgentService {
);
}
RETRY_COUNT += 1;
print(
debugPrint(
"Retrying AgentCall for (${agent.agentName}): ATTEMPT: $RETRY_COUNT",
);
} while (RETRY_COUNT < 5);

View File

@@ -7,7 +7,7 @@ abstract class AIAgent {
extension SystemPromptTemplating on String {
String substitutePromptVariable(String variable, String value) {
return this.replaceAll(":$variable:", value);
return replaceAll(":$variable:", value);
}
}