@ynhcj/xiaoyi-channel 0.0.87-beta → 0.0.88-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -135,7 +135,7 @@ export const xiaoyiProvider = {
135
135
  if (sessionCtx?.deviceType) {
136
136
  const rawDevice = sessionCtx.deviceType;
137
137
  const displayDevice = (rawDevice === "2in1") ? "鸿蒙PC" : rawDevice;
138
- const deviceSection = `\n\n## Current User Device Context\nThe current user is using the following device: ${displayDevice}\n`;
138
+ const deviceSection = `\n\n## Current User Device Context\nThe current user is using the following device: ${displayDevice}\nYou need to be aware of the user’s current device and provide guidance accordingly. If the response involves device-related tools or actions, you must tailor the reply based on the user’s current device, using device-specific references such as “saved to the Notes/Calendar on your {deviceType}.\n”`;
139
139
  context.systemPrompt = (context.systemPrompt ?? "") + deviceSection;
140
140
  }
141
141
  const stream = await underlying(model, context, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.87-beta",
3
+ "version": "0.0.88-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",