blob: 88136e4abc07c2afdaee2d331c0fee0b4e095683 [file] [log] [blame]
Philip Zeyliger72252cb2025-05-10 17:00:08 -07001package claudetool
2
3import (
4 "sketch.dev/llm"
5)
6
7// ContentToString extracts text from []llm.Content if available
8func ContentToString(content []llm.Content) string {
9 if len(content) == 0 {
10 return ""
11 }
12 return content[0].Text
13}