@ynhcj/xiaoyi-channel 0.0.200-beta → 0.0.202-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.
package/dist/src/provider.js
CHANGED
|
@@ -618,7 +618,7 @@ export const xiaoyiProvider = {
|
|
|
618
618
|
deviceSection += `当前用户小艺APP版本是${appVer}\n`;
|
|
619
619
|
}
|
|
620
620
|
if (sdkApiVersion) {
|
|
621
|
-
deviceSection +=
|
|
621
|
+
deviceSection += `当前用户系统软件API版本是${sdkApiVersion}\n`;
|
|
622
622
|
}
|
|
623
623
|
deviceSection += `You 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"`;
|
|
624
624
|
context.systemPrompt = (context.systemPrompt ?? "") + deviceSection;
|