fix(review): align tool feedback reconstruction with runtime behavior
This commit is contained in:
5 files changed
+142
-22
No files matched your search
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
}
|
||||
Reference in new issue
Block a user