Skip to content

Commit 325ca5d

Browse files
author
jiangpeiling
committed
🐛 Generating title error when using tokenpony deepseek-r1 #1339
1 parent da4e479 commit 325ca5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/services/conversation_management_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def call_llm_for_title(content: str, tenant_id: str, language: str = LANGUAGE["Z
276276
"content": user_prompt}]
277277

278278
# Call the model
279-
response = llm(messages, max_tokens=10)
279+
response = llm(messages)
280280

281281
return remove_think_blocks(response.content.strip())
282282

0 commit comments

Comments
 (0)