module AiRabbotMetaClassExtensions
Public Instance Methods
Source
# File plugins/ai.rb, line 2406 def format_build_success(stats, model, _command_hint, plugin_path) RabbotMeta.reload_agent_libs! filename = File.basename(plugin_path) if AiSummary.respond_to?(:format_build_success_message) return AiSummary.format_build_success_message( filename: filename, attempts: stats.attempts, model: model, total_tokens: stats.total_tokens, duration_s: stats.duration_s, usage_percents: Ai.fetch_usage_percents ) end "Plugin #{filename} built in #{stats.attempts} attempt(s) " \ "(#{model}, #{stats.total_tokens} tokens, #{stats.duration_s}s)" end