Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix Bug BUG2026042541547

shenwei2126090cedd1e3
diff --git a/jiuwenclaw/agentserver/tools/xiaoyi_phone_tools/image_reading_tool.py b/jiuwenclaw/agentserver/tools/xiaoyi_phone_tools/image_reading_tool.py
index b9f2eaf01c..3d55986646 100644
--- a/jiuwenclaw/agentserver/tools/xiaoyi_phone_tools/image_reading_tool.py
+++ b/jiuwenclaw/agentserver/tools/xiaoyi_phone_tools/image_reading_tool.py
@@ -90,29 +90,29 @@ async def _call_image_understanding_api(
"version": "1.0",
"session": {
"isNew": False,
- "sessionId": "wangyu202410241921",
+ "sessionId": "",
"interactionId": 0,
},
"endpoint": {
"device": {
- "sid": "3df83a4a8124d7600f66206f96ea1e7e4e21c593adc4246bd20d450d8404cbf3",
- "deviceId": "3f35019f-ba4c-4ed5-80c0-6ddcef741200",
- "prdVer": "99.0.64.303",
- "phoneType": "WLZ-AL10",
- "sysVer": "HarmonyOS_2.0.0",
+ "sid": "",
+ "deviceId": "",
+ "prdVer": "",
+ "phoneType": "",
+ "sysVer": "",
"deviceType": 0,
- "timezone": "GMT+08:00",
+ "timezone": "",
},
- "locale": "zh-CN",
- "sysLocale": "zh",
- "countryCode": "CN",
+ "locale": "",
+ "sysLocale": "",
+ "countryCode": "",
},
"utterance": {"type": "text", "original": text},
"actions": [
{
"actionSn": str(uuid.uuid4()),
"actionExecutorTask": {
- "pluginId": "aeac4e92c32949c1b7fc02de262615e6",
+ "pluginId": "",
"agentState": "OnShelf",
"actionName": "imageUnderStandStream",
"content": {"imageUrl": image_url, "text": text},