Remove garbled characters from system prompt words
This commit is contained in:
@@ -743,7 +743,7 @@ async def zhipu_complete_if_cache(
|
|||||||
messages = []
|
messages = []
|
||||||
|
|
||||||
if not system_prompt:
|
if not system_prompt:
|
||||||
system_prompt = "You are a helpful assistant. 注意内容里的敏感词用***替换。"
|
system_prompt = "You are a helpful assistant."
|
||||||
|
|
||||||
# Add system prompt if provided
|
# Add system prompt if provided
|
||||||
if system_prompt:
|
if system_prompt:
|
||||||
|
Reference in New Issue
Block a user