We are not able to pass system message like below into instructions key in agent constructor.
const systemMessage = [{role:"system", content:"long content to cache"}]
If we can do this we can put cache control for anthropic models.
Current workaround is not passing in the constructor but passing manually in contextHandler.
We are not able to pass system message like below into
instructionskey in agent constructor.const systemMessage = [{role:"system", content:"long content to cache"}]If we can do this we can put cache control for anthropic models.
Current workaround is not passing in the constructor but passing manually in contextHandler.