Skip to content

Conversation

@marcoroth
Copy link
Collaborator

@marcoroth marcoroth commented Jul 28, 2025

Running rails generate active_agent:install generates a app/agents/application_agent.rb file using mixed double and single quotes:

class ApplicationAgent < ActiveAgent::Base
  layout 'agent'
  
  generate_with :openai, model: "gpt-4o-mini", instructions: "You are a helpful assistant."
end

This pull request updates the template to use double quotes for all strings in that file. Additionally, it removes the duplicate/unused ApplicationAgent template file in lib/generators/erb/templates/application_agent.rb.tt.

Copy link
Contributor

@TonsOfFun TonsOfFun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TonsOfFun TonsOfFun merged commit d7c6dda into activeagents:main Jul 28, 2025
2 checks passed
@marcoroth marcoroth deleted the double-quotes-for-layout branch July 28, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants