From c8b7dbb6e4f9a5bbe6773c5db2b51b607ea1a642 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 7 Oct 2024 05:59:44 -0700 Subject: [PATCH] genai: fix text of error message --- genai/caching.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/caching.go b/genai/caching.go index 11d7786..659c3a3 100644 --- a/genai/caching.go +++ b/genai/caching.go @@ -99,7 +99,7 @@ type CachedContentToUpdate struct { // All other fields of the argument CachedContent are ignored. func (c *Client) UpdateCachedContent(ctx context.Context, cc *CachedContent, ccu *CachedContentToUpdate) (*CachedContent, error) { if ccu == nil || ccu.Expiration == nil { - return nil, errors.New("cloud.google.com/go/vertexai/genai.UpdateCachedContent: no update specified") + return nil, errors.New("genai.UpdateCachedContent: no update specified") } cc2 := &CachedContent{ Name: cc.Name,