#Getting Google Generative AI API error (400): CachedContent can not be used... after update

1 messages Β· Page 1 of 1 (latest)

tawdry osprey
#

Guys, After updating openclaw to the latest version I'm getting this error when my agent sends any thing to me (via matrix):

Google Generative AI API error (400): CachedContent can not be used

with GenerateContent request setting system_instruction, tools or tool_config.

Proposed fix: move those values to CachedContent from GenerateContent request. [code=INVALID_ARGUMENT]

How do I fix this thing?

amber mauveBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution