mirror of
https://github.com/we-promise/sure.git
synced 2026-04-26 23:44:12 +00: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:
@@ -5,7 +5,7 @@ http_interactions:
|
||||
uri: https://api.openai.com/v1/responses
|
||||
body:
|
||||
encoding: UTF-8
|
||||
string: '{"model":"gpt-4o","input":[{"role":"user","content":"This is a chat
|
||||
string: '{"model":"gpt-4.1","input":[{"role":"user","content":"This is a chat
|
||||
test. If it''s working, respond with a single word: Yes"}],"instructions":null,"tools":[],"previous_response_id":null,"stream":null}'
|
||||
headers:
|
||||
Content-Type:
|
||||
@@ -69,7 +69,7 @@ http_interactions:
|
||||
"incomplete_details": null,
|
||||
"instructions": null,
|
||||
"max_output_tokens": null,
|
||||
"model": "gpt-4o-2024-08-06",
|
||||
"model": "gpt-4.1-2024-08-06",
|
||||
"output": [
|
||||
{
|
||||
"type": "message",
|
||||
|
||||
Reference in New Issue
Block a user