Class: OllamaAgent::Skills::DebugEngineer

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

Overview

Investigates a bug from a code excerpt and (optionally) an error message.

Constant Summary collapse

SCHEMA =
{
  type: "object",
  required: %w[root_cause repair_plan fixed_code],
  properties: {
    root_cause: { type: "string", minLength: 1 },
    repair_plan: { type: "array" },
    edge_cases: { type: "array" },
    fixed_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