Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ def completion(history, model, system_prompt, tools=None):
|
|
52 |
"stream": False,
|
53 |
"max_tokens": 1000,
|
54 |
"temperature": 0.6,
|
55 |
-
"frequency_penalty":
|
56 |
-
"extra_body": {"repetition_penalty":
|
57 |
}
|
58 |
if tools:
|
59 |
request_params.update({"tool_choice": "auto", "tools": tools})
|
|
|
52 |
"stream": False,
|
53 |
"max_tokens": 1000,
|
54 |
"temperature": 0.6,
|
55 |
+
"frequency_penalty": 1,
|
56 |
+
"extra_body": {"repetition_penalty": 1},
|
57 |
}
|
58 |
if tools:
|
59 |
request_params.update({"tool_choice": "auto", "tools": tools})
|