feat(dingtalk): enable secure multimodal image QA
This commit is contained in:
@@ -29,7 +29,7 @@ func buildLLMMessages(messages []Message) []logger.LLMMessage {
|
||||
parts = append(parts, mc.Text)
|
||||
case "image_url":
|
||||
if mc.ImageURL != nil {
|
||||
parts = append(parts, fmt.Sprintf("[image_url: %s]", truncateForDebug(mc.ImageURL.URL, 120)))
|
||||
parts = append(parts, fmt.Sprintf("[image_url: redacted (%d bytes)]", len(mc.ImageURL.URL)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user