Skip to content

Commit 782fd30

Browse files
committed
update miku mcp tools
1 parent 70aa1e4 commit 782fd30

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/mcp_server/core/live_streaming/live_streaming.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def _get_auth_header(self, method: str, url: str, content_type: Optional[str] =
4242
"Authorization": f"Qiniu {token}"
4343
}
4444
return {
45-
"Authorization": f"Qiniu ak:sk"
45+
"Authorization": "Qiniu ak:sk"
4646
}
4747

4848
def _build_bucket_url(self, bucket: str) -> str:
@@ -96,7 +96,7 @@ async def create_bucket(self, bucket: str) -> Dict[str, Any]:
9696

9797
# 打印 HTTP 请求信息
9898
print("=== HTTP 请求信息 ===")
99-
print(f"方法: PUT")
99+
print("方法: PUT")
100100
print(f"URL: {url}")
101101
print("请求头:")
102102
for key, value in headers.items():
@@ -111,7 +111,6 @@ async def create_bucket(self, bucket: str) -> Dict[str, Any]:
111111
status = response.status
112112
text = await response.text()
113113

114-
print(f"=== HTTP 响应信息 ===")
115114
print(f"状态码: {status}")
116115
print(f"响应内容: {text}")
117116
print("==================")

0 commit comments

Comments
 (0)