You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: deepseek.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ def shorten(text, key, max_len):
8
8
payload= { "messages": [
9
9
{
10
10
"role": "user",
11
-
"content": f"Please shorten the following text to less than {max_len} characters, and only return the shortened text, do not attempt to interpret it:\n{text}"
11
+
"content": f"Shorten the following text to {max_len} characters. Return only the shortened text without adding, interpreting, or modifying the meaning. Do not include explanations or notes. Text:\n{text}"
0 commit comments