jack 5 ماه پیش
والد
کامیت
865a949d0a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/services/run/run.py

+ 2 - 2
app/services/run/run.py

@@ -46,8 +46,8 @@ class RunService:
             body.temperature = db_asst.temperature
         if not body.top_p and db_asst.top_p:
             body.top_p = db_asst.top_p
-        if body.additional_instructions:
-            body.instructions += "\n" + body.additional_instructions
+        if body.additional_instructions: ##
+            body.instructions = body.additional_instructions
 
         file_ids = []
         """