mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 15:05:22 +02:00
* Add lookbook + viewcomponent, organize design system file * Build menu component * Button updates * More button fixes * Replace all menus with new ViewComponent * Checkpoint: fix tests, all buttons and menus converted * Split into Link and Button components for clarity * Button cleanup * Simplify custom confirmation configuration in views * Finalize button, link component API * Add toggle field to custom form builder + Component * Basic tabs component * Custom tabs, convert all menu / tab instances in app * Gem updates * Centralized icon helper * Update all icon usage to central helper * Lint fixes * Centralize all disclosure instances * Dialog replacements * Consolidation of all dialog styles * Test fixes * Fix app layout issues, move to component with slots * Layout simplification * Flakey test fix * Fix dashboard mobile issues * Finalize homepage * Lint fixes * Fix shadows and borders in dark mode * Fix tests * Remove stale class * Fix filled icon logic * Move transparent? to public interface
19 lines
778 B
Text
19 lines
778 B
Text
<%# locals: (message:) %>
|
|
|
|
<details class="my-2 group mb-4">
|
|
<summary class="text-secondary text-xs cursor-pointer flex items-center gap-2">
|
|
<%= icon("chevron-right", class: "group-open:transform group-open:rotate-90") %>
|
|
<p>Tool Calls</p>
|
|
</summary>
|
|
|
|
<div class="mt-2">
|
|
<% message.tool_calls.each do |tool_call| %>
|
|
<div class="bg-blue-50 border-blue-200 px-3 py-2 rounded-lg border mb-2">
|
|
<p class="text-secondary text-xs">Function:</p>
|
|
<p class="text-primary text-sm font-mono"><%= tool_call.function_name %></p>
|
|
<p class="text-secondary text-xs mt-2">Arguments:</p>
|
|
<pre class="text-primary text-sm font-mono whitespace-pre-wrap"><%= tool_call.function_arguments %></pre>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</details>
|