Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -68,9 +68,9 @@ def completion(history, model, system_prompt: str, tools=None):
|
|
68 |
"messages": messages,
|
69 |
"stream": True,
|
70 |
"max_tokens": 1000,
|
71 |
-
"temperature": 0.
|
72 |
-
"frequency_penalty": 0.
|
73 |
-
"extra_body": {"repetition_penalty": 1.
|
74 |
}
|
75 |
if tools:
|
76 |
request_params.update({"tool_choice": "auto", "tools": tools})
|
|
|
68 |
"messages": messages,
|
69 |
"stream": True,
|
70 |
"max_tokens": 1000,
|
71 |
+
"temperature": 0.01,
|
72 |
+
"frequency_penalty": 0.1,
|
73 |
+
"extra_body": {"repetition_penalty": 1.1},
|
74 |
}
|
75 |
if tools:
|
76 |
request_params.update({"tool_choice": "auto", "tools": tools})
|