File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,10 @@ def generateFilterString(userToken):
8585
8686
8787def format_non_streaming_response (chunk , history_metadata ):
88+ from backend .settings import app_settings
8889 response_obj = {
8990 "id" : str (uuid .uuid4 ()),
90- "model" : "gpt-4.1" ,
91+ "model" : app_settings . azure_ai . agent_model_deployment_name ,
9192 "created" : int (time .time ()),
9293 "choices" : [{
9394 "messages" : []
@@ -116,9 +117,10 @@ def format_non_streaming_response(chunk, history_metadata):
116117
117118
118119def format_stream_response (chunk , history_metadata ):
120+ from backend .settings import app_settings
119121 response_obj = {
120122 "id" : str (uuid .uuid4 ()),
121- "model" : "gpt-4.1" ,
123+ "model" : app_settings . azure_ai . agent_model_deployment_name ,
122124 "created" : int (time .time ()),
123125 "choices" : [{
124126 "messages" : []
You can’t perform that action at this time.
0 commit comments