feat(assistant): improve chat functionality and update tests - refactor configurable model, update OpenAI provider, enhance chat form UI, and improve test coverage (#2316)

Updated model to GPT 4.1
This commit is contained in:
Josh Pigford
2025-05-27 05:04:58 -05:00
committed by GitHub
parent e7f1506728
commit 4f5068e7e5
15 changed files with 41 additions and 44 deletions

View File

@@ -8,7 +8,7 @@
data: { chat_target: "form" } do |f| %>
<%# In the future, this will be a dropdown with different AI models %>
<%= f.hidden_field :ai_model, value: "gpt-4o" %>
<%= f.hidden_field :ai_model, value: "gpt-4.1" %>
<%= f.text_area :content, placeholder: "Ask anything ...", value: message_hint,
class: "w-full border-0 focus:ring-0 text-sm resize-none px-1 bg-transparent",