Skip to content

Commit 1554a39

Browse files
committed
feat(ui): add ToolCallItem component for agent messages #453
Introduce ToolCallItem to render tool call items in agent message lists and update related UI components for improved tool call display.
1 parent bde9318 commit 1554a39

File tree

6 files changed

+651
-621
lines changed

6 files changed

+651
-621
lines changed

mpp-core/src/commonMain/kotlin/cc/unitmesh/devins/compiler/processor/CommandProcessor.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,8 @@ class CommandProcessor : BaseDevInsNodeProcessor() {
105105
context: CompilerContext
106106
): ProcessResult {
107107
context.logger.info("[$name] Processing file command with arguments: $arguments")
108-
109-
// 标记为本地命令
108+
110109
context.result.isLocalCommand = true
111-
112-
// 生成文件命令的模板输出
113110
val output = "{{FILE_CONTENT:$arguments}}"
114111
context.appendOutput(output)
115112

mpp-core/src/commonMain/kotlin/cc/unitmesh/devins/llm/MessageMetadata.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import kotlinx.serialization.Serializable
99
enum class TimelineItemType {
1010
MESSAGE,
1111
COMBINED_TOOL,
12-
TOOL_CALL,
1312
TOOL_RESULT,
1413
TOOL_ERROR,
1514
TASK_COMPLETE,

0 commit comments

Comments
 (0)