Skip to content

Commit 4b16fa4

Browse files
committed
Update mock_server.py
1 parent 8d10d4f commit 4b16fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mock_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def generate(self, req_data: GenerationRequest, initial_request_id: str):
430430
# --- 生成 Curl 命令 (过滤掉非法 Header) ---
431431
# 1. 基础 Header
432432
curl_headers = [
433-
"-H \"Authorization: Bearer ${SILICONFLOW_API_KEY}\"",
433+
'-H "Authorization: Bearer ${SILICONFLOW_API_KEY}"',
434434
"-H 'Content-Type: application/json'",
435435
]
436436

0 commit comments

Comments
 (0)