Class: OllamaAgent::Skills::PerformanceOptimizer

Inherits:
Base
  • Object
show all
Defined in:
lib/ollama_agent/skills/performance_optimizer.rb

Overview

Identifies bottlenecks and returns an optimized version of the code.

Constant Summary collapse

SCHEMA =
{
  type: "object",
  required: %w[bottlenecks optimizations optimized_code],
  properties: {
    bottlenecks: { type: "array" },
    optimizations: { type: "array" },
    optimized_code: { type: "string", minLength: 1 }
  }
}.freeze

Method Summary

Methods inherited from Base

#call, #initialize, register_as, skill_id

Constructor Details

This class inherits a constructor from OllamaAgent::Skills::Base