@ww_nero/mini-cli 1.0.100 → 1.0.102
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/package.json +1 -1
- package/src/chat.js +1 -1
- package/src/utils/renderer.js +3 -0
package/package.json
CHANGED
package/src/chat.js
CHANGED
|
@@ -208,7 +208,7 @@ const getReadableErrorMessage = (error) => {
|
|
|
208
208
|
const buildEmptyAssistantResponseNotice = (usage) => {
|
|
209
209
|
const usageText = formatUsageTokens(usage);
|
|
210
210
|
const usageSuffix = usageText ? `(${usageText})` : '';
|
|
211
|
-
return `本次请求已结束,但模型未返回可显示内容${usageSuffix}
|
|
211
|
+
return `本次请求已结束,但模型未返回可显示内容${usageSuffix}。`;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
const indentToolResult = (text = '') => splitDisplayLines(text)
|
package/src/utils/renderer.js
CHANGED
|
@@ -46,6 +46,9 @@ const formatHeader = (name, args, options = {}) => {
|
|
|
46
46
|
}
|
|
47
47
|
} else if (name === 'read') {
|
|
48
48
|
if (args.filePath) metaParts.push(args.filePath);
|
|
49
|
+
} else if (name === 'skills') {
|
|
50
|
+
if (args.skillName) metaParts.push(args.skillName);
|
|
51
|
+
if (args.filePath) metaParts.push(args.filePath);
|
|
49
52
|
} else if (name === 'convert') {
|
|
50
53
|
if (typeof args.input === 'string') {
|
|
51
54
|
metaParts.push(`input=${truncateText(args.input, 160)}`);
|