Skip to content

Commit fb2217b

Browse files
committed
refactor(config): remove chatConfig from JsToolConfigFile
Eliminate the chatConfig property from the exported JS tool config to simplify the configuration structure.
1 parent 548f304 commit fb2217b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mpp-core/src/jsMain/kotlin/cc/unitmesh/agent/config/ToolConfigExports.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ class JsToolConfigFile(
121121
return JsToolConfigFile(
122122
enabledBuiltinTools = config.enabledBuiltinTools.toTypedArray(),
123123
enabledMcpTools = config.enabledMcpTools.toTypedArray(),
124-
mcpServers = mcpServersJs,
125-
chatConfig = JsChatConfig.fromCommon(config.chatConfig)
124+
mcpServers = mcpServersJs
126125
)
127126
}
128127

0 commit comments

Comments
 (0)