mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 07:39:39 +02:00
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:
parent
e7f1506728
commit
4f5068e7e5
15 changed files with 41 additions and 44 deletions
|
@ -5,7 +5,7 @@ class Provider::OpenaiTest < ActiveSupport::TestCase
|
|||
|
||||
setup do
|
||||
@subject = @openai = Provider::Openai.new(ENV.fetch("OPENAI_ACCESS_TOKEN", "test-openai-token"))
|
||||
@subject_model = "gpt-4o"
|
||||
@subject_model = "gpt-4.1"
|
||||
end
|
||||
|
||||
test "openai errors are automatically raised" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue