探讨 agent context 共享分两种:session内和跨session
context 共享还是要有的。但分成两种看。
放在message history的session内context,prompt cache友好,因为有 tool use trajectory,后续的tool use可以自然的跟随。适合人agent 密集协作。
通过 context tool 的跨session context,agent
放在message history的session内context,prompt cache友好,因为有 tool use trajectory,后续的tool use可以自然的跟随。适合人agent 密集协作。
通过 context tool 的跨session context,agent