File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -187,19 +187,18 @@ message JobTermination {
187187 string job_id = 1 ;
188188}
189189
190- message AgentSessionStateDelta {
191- // if base_version is empty, this is the delta from the initial state
192- optional string base_version = 1 ;
193- string new_version = 2 ;
194- bytes changeset = 3 ;
190+ message AgentSessionState {
191+ uint64 version = 1 ;
192+ bytes snapshot = 2 ;
193+ bytes delta = 3 ;
195194}
196195
197196message TextMessageRequest {
198197 string message_id = 1 ;
199198 string session_id = 2 ;
200199 string agent_name = 3 ;
201200 string metadata = 4 ;
202- repeated AgentSessionStateDelta session_state = 5 ;
201+ AgentSessionState session_state = 5 ;
203202 string text = 6 ;
204203}
205204
@@ -214,6 +213,6 @@ message PushTextRequest {
214213message TextMessageResponse {
215214 // Indicate the request is completed
216215 string message_id = 1 ;
217- AgentSessionStateDelta session_state = 2 ;
216+ AgentSessionState session_state = 2 ;
218217 string error = 3 ;
219218}
You can’t perform that action at this time.
0 commit comments