REFACTOR: GenAIAgenticService -> AIAgentService

This commit is contained in:
Manas Hejmadi
2025-08-31 16:14:23 +05:30
parent b1f340de11
commit b844e7c279
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class APIDashAgentCaller {
throw Exception('NO_DEFAULT_LLM');
}
final baseAIRequestObject = AIRequestModel.fromJson(defaultAIModel);
final ans = await GenAIAgenticService.callAgent(
final ans = await AIAgentService.callAgent(
agent,
baseAIRequestObject,
query: input.query,

View File

@@ -1,7 +1,7 @@
import 'package:genai/agentic_engine/blueprint.dart';
import 'package:genai/genai.dart';
class GenAIAgenticService {
class AIAgentService {
static Future<String?> _call_provider({
required AIRequestModel baseAIRequestObject,
required String systemPrompt,
@@ -58,7 +58,7 @@ class GenAIAgenticService {
}
}
} catch (e) {
"APIDashAIService::Governor: Exception Occured: $e";
"AIAgentService::Governor: Exception Occured: $e";
}
// Exponential Backoff
if (RETRY_COUNT < backoffDelays.length) {