From 0df5379975a8ff5ac82953b9a95bf42a0f0ccaed Mon Sep 17 00:00:00 2001 From: dataCenter430 Date: Fri, 13 Mar 2026 17:43:25 +0100 Subject: [PATCH] fix: Golang Lint error --- pkg/agent/loop_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/agent/loop_test.go b/pkg/agent/loop_test.go index 83ecf9468..379cea597 100644 --- a/pkg/agent/loop_test.go +++ b/pkg/agent/loop_test.go @@ -1263,7 +1263,8 @@ func TestResolveMediaRefs_EmptyContentGetsPathTag(t *testing.T) { docPath := filepath.Join(dir, "doc.docx") os.WriteFile(docPath, []byte("fake docx"), 0o644) - ref, _ := store.Store(docPath, media.MediaMeta{ContentType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"}, "test") + docxMIME := "application/vnd.openxmlformats-officedocument.wordprocessingml.document" + ref, _ := store.Store(docPath, media.MediaMeta{ContentType: docxMIME}, "test") messages := []providers.Message{ {Role: "user", Content: "", Media: []string{ref}},