mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +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
8
test/fixtures/messages.yml
vendored
8
test/fixtures/messages.yml
vendored
|
@ -16,20 +16,20 @@ chat1_user:
|
|||
type: UserMessage
|
||||
content: Can you help me understand my spending habits?
|
||||
chat: one
|
||||
ai_model: gpt-4o
|
||||
ai_model: gpt-4.1
|
||||
created_at: 2025-03-20 12:00:01
|
||||
|
||||
chat2_user:
|
||||
type: UserMessage
|
||||
content: Can you help me understand my spending habits?
|
||||
ai_model: gpt-4o
|
||||
ai_model: gpt-4.1
|
||||
chat: two
|
||||
created_at: 2025-03-20 12:00:01
|
||||
|
||||
chat1_assistant_reasoning:
|
||||
type: AssistantMessage
|
||||
content: I'm thinking...
|
||||
ai_model: gpt-4o
|
||||
ai_model: gpt-4.1
|
||||
chat: one
|
||||
created_at: 2025-03-20 12:01:00
|
||||
reasoning: true
|
||||
|
@ -37,7 +37,7 @@ chat1_assistant_reasoning:
|
|||
chat1_assistant_response:
|
||||
type: AssistantMessage
|
||||
content: Hello! I can help you understand your spending habits.
|
||||
ai_model: gpt-4o
|
||||
ai_model: gpt-4.1
|
||||
chat: one
|
||||
created_at: 2025-03-20 12:02:00
|
||||
reasoning: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue