code: def _ac_tag(ctx, _param, incomplete):
      if ctx.params.get("remote"):
          return []
  
      tags = set()
      ctx.params["runs"] = ctx.args or ["1"]
      for run in runs_support.runs_for_ctx(ctx):
          tags.update(_safe_list(run.get("tags")))
      return [t for t in sorted(tags) if t.startswith(incomplete)]
  
imports: import click
  from guild import click_util
  from .None import remote_support
  from .None import runs_support
label_desc: Use image node_id 1 for calling a global function with example usage: _ac_tag(ctx, _param, incomplete) and returns: unknown, list