mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-07 08:12:41 +08:00
The previous message cleaning logic was flawed: - cleanedMsg.Content was already set to message.Content - The condition checked if message.Content == "" then set cleanedMsg.Content = "" - This was redundant since cleanedMsg.Content would already be empty The real fix for the API 400 error is in planner.go where we ensure Tool messages have non-empty content. The utils.go changes were unnecessary.