Class: RailsAiBridge::Serializers::Formatters::Providers::GeminiHeaderFormatter
- Defined in:
- lib/rails_ai_bridge/serializers/formatters/providers/gemini_header_formatter.rb
Overview
Renders the Gemini-specific document header.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#call ⇒ String
Renders the header for the GEMINI.md file.
Methods inherited from Base
Constructor Details
This class inherits a constructor from RailsAiBridge::Serializers::Formatters::Base
Instance Method Details
#call ⇒ String
Renders the header for the GEMINI.md file.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/rails_ai_bridge/serializers/formatters/providers/gemini_header_formatter.rb', line 11 def call ProviderDocumentHeader.call( context: context, document_title: 'AI Context', layout: :ai_context, intro: <<~INTRO.chomp This file provides a high-level overview of this Rails application's structure, patterns, and conventions. As an AI assistant, use this context to quickly understand the project and generate idiomatic code that adheres to its design decisions. For deeper dives, use the live MCP tools referenced throughout this document. INTRO ) end |