Skip to content
Discussion options

You must be logged in to vote

目前解决办法:

  1. 找到dsh-client-ui-tool依赖目录
  2. 修改lib/client.js

修改1105行-1106行

		function ToolRow({ t, variant, toolName, icon, title, summary, summarySuffix, bodyRaw, output, askQuestion, errorSummary, terminal, diff, read, search, web, state, filePath, onOpenFile, inspect }) {
			const defaultExpand = ["read", "edit", "write"].indexOf(toolName) >= 0;
			const [expanded, setExpanded] = (0, react.useState)(defaultExpand);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ChangedenCZD
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ChangedenCZD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants