You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to also allow editing the stepInputMessages through prepareStep?
I am using an agent with many steps, and often it accumulates input tokens, increasing the cost greatly. (if accumulated 5K tokens and have 20 more steps, I am paying for 100K tokens for the steps.)
I hope to apply cacheControl option to one of the stepInputMessages in the middle of streamText steps to decrease the cost burden.