mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
6421f146a9
This reverts commit e556a816e4.
10 lines
335 B
Go
10 lines
335 B
Go
package utils
|
|
|
|
import "fmt"
|
|
|
|
// FormatToolFeedbackMessage renders the tool name and arguments preview in the
|
|
// same markdown shape used by live tool feedback and session reconstruction.
|
|
func FormatToolFeedbackMessage(toolName, argsPreview string) string {
|
|
return fmt.Sprintf("\U0001f527 `%s`\n```\n%s\n```", toolName, argsPreview)
|
|
}
|