update:修改上下文源的device_id

This commit is contained in:
3030332422
2025-12-08 14:25:11 +08:00
parent 192f6f198f
commit aba7172a03
4 changed files with 7 additions and 6 deletions
@@ -29,7 +29,7 @@ class ContextDataProvider:
try:
headers = headers.copy() if isinstance(headers, dict) else {}
# 将 device_id 添加到请求头
headers["device_id"] = device_id
headers["device-id"] = device_id
# 发送请求
response = httpx.get(url, headers=headers, timeout=3)