luigi12345 commited on
Commit
2f8eb98
·
verified ·
1 Parent(s): 739c8e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -127,8 +127,10 @@ def apply_interpreter_settings():
127
  interpreter.llm.api_base = st.session_state.settings["api_base"]
128
  interpreter.llm.model = st.session_state.settings["model"]
129
  interpreter.auto_run = st.session_state.settings["auto_run"]
 
 
130
  interpreter.safe_mode = "off"
131
- interpreter.conversation_history = False # Force this to False
132
  interpreter.os = st.session_state.settings["os_mode"]
133
 
134
  # Set allowed paths
 
127
  interpreter.llm.api_base = st.session_state.settings["api_base"]
128
  interpreter.llm.model = st.session_state.settings["model"]
129
  interpreter.auto_run = st.session_state.settings["auto_run"]
130
+ interpreter.llm.temperature = 0.7
131
+ interpreter.llm.repetition_penalty = 1.2
132
  interpreter.safe_mode = "off"
133
+ interpreter.conversation_history = True # Force this to False
134
  interpreter.os = st.session_state.settings["os_mode"]
135
 
136
  # Set allowed paths