@@ -61,7 +61,7 @@ func GetModelNameFromContext(ctx context.Context) string {
6161// markdown description when CRUSH_SHORT_TOOL_DESCRIPTIONS is set, significantly
6262// reducing token usage. Otherwise returns the full description.
6363func FirstLineDescription(content []byte) string {
64− if os.Getenv("CRUSH_SHORT_TOOL_DESCRIPTIONS") == "" {
64+ if v, _ := strconv.ParseBool(os.Getenv("CRUSH_SHORT_TOOL_DESCRIPTIONS")); !v {
6565 return strings.TrimSpace(string(content))
6666 }
6767 for line := range strings.SplitSeq(string(content), "\n") {