Class: Relay::Pages::MCP
- Includes:
- Hooks::RequireUser
- Defined in:
- app/pages/mcp.rb
Instance Method Summary collapse
Methods included from Concerns::View
#cancellable?, #context_window, #format_cost, #format_name, #initials, #markdown, #status_bar
Methods included from Concerns::Roda
#initialize, #method_missing, #r, #respond_to_missing?
Methods included from Concerns::Context
#contexts, #ctx, #current_context, #default_context, #default_model, #llm, #llms, #mcps, #model, #models, #normalize_model, #provider, #sync_context!, #user, #valid_model?
Methods included from Concerns::Attachment
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Relay::Concerns::Roda
Instance Method Details
#call(form:, selected_id: nil) ⇒ Object
7 8 9 10 |
# File 'app/pages/mcp.rb', line 7 def call(form:, selected_id: nil) response["content-type"] = "text/html" page("mcps", title: "Relay MCP", form:, selected_id:) end |