callCeiling method

  1. @override
Duration callCeiling(
  1. GlintSession session,
  2. Map<String, Object?> args
)
override

How long a call with args may run before glint cancels it and answers toolTimeout; tools that wait on request raise it.

Implementation

@override
Duration callCeiling(GlintSession session, Map<String, Object?> args) {
  final taps = args['sequence'] is List ? (args['sequence'] as List).length : 1;
  return GlintTool.actionCeiling(session, args, extraMs: taps * (argInt(args, 'intervalMs') ?? 120));
}