Skip to content

Commit

Permalink
Merge pull request #48 from salesforce/add-debug-prompt
Browse files Browse the repository at this point in the history
prompt in debug mode
  • Loading branch information
vswamidass-sfdc authored Aug 27, 2024
2 parents 5604129 + b19e5f3 commit 53a4b62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/messages/_message.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<p class="mb-3">
<%= render_markdown(message.content) if message.content.present? %>
</p>

<% if session[:debug] == "true" && message.prompt.present? %>
<textarea class="w-full rounded border bg-stone-100" rows=5><%= message.prompt %></textarea>
<% end %>
</div>
<% end %>
</div>
Expand Down

0 comments on commit 53a4b62

Please sign in to comment.