class Guppi::FileModifierAgent

Defined in:

file_modifier_agent.cr

Constructors

Instance Method Summary

Instance methods inherited from class Guppi::Agent

add_agent_message(content : String) add_agent_message, add_message(role : String, content : String) add_message, add_system_message(content : String) add_system_message, add_user_message(content : String) add_user_message, chat(options : Hash | Nil = nil, &block : String -> Nil) chat, client : OpenAI::Client client, end_conversation end_conversation, messages : Array({role: String, content: String}) messages, model : String model, prompts : Crinja prompts, render(template_name, context) render

Constructor methods inherited from class Guppi::Agent

new(prompts : Crinja, client : OpenAIClient, model : String = "gpt-3.5-turbo") new

Constructor Detail

def self.new(prompts : Crinja, client : OpenAIClient, model : String = "gpt-4") #

[View source]

Instance Method Detail

def modify_file(project_file : String, contents : String, step : Step) : Bool #

[View source]