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) =>
    GlintTool.ceilingFor((argInt(args, 'afterMs') ?? 0) + (args['waitFor'] == null ? 0 : 15000), slackSec: 60);