jack 1 settimana fa
parent
commit
865a949d0a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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
             body.temperature = db_asst.temperature
         if not body.top_p and db_asst.top_p:
         if not body.top_p and db_asst.top_p:
             body.top_p = 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 = []
         file_ids = []
         """
         """