setInjectToolCallingRules method
Toggles whether tool calling instructions are appended to system prompts.
Implementation
Future<void> setInjectToolCallingRules(bool value) async {
_injectToolCallingRules = value;
await _storage.saveToolStrategy(
strategy: _toolDeliveryStrategy,
injectRules: _injectToolCallingRules,
filterSource: _toolFilteringLlmSource,
);
notifyListeners();
}