How can we pass memory or a planned trajectory to the model during inference?
Author: smehdiaCreated Apr 2, 2026Updated Apr 2, 2026
Hi,
I am trying to understand the best way to provide the model with memory or a planned trajectory during inference. I sometimes already have a structured plan for the model, what I want to know is: What is the recommended way to pass this kind of memory to the model? Should it simply be appended as extra text in the prompt, or is there a more effective format?
Thank you
Source: bytedance/UI-TARS