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
Copy file name to clipboardExpand all lines: src/ServiceContracts/SessionsContract.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ public function end(
103
103
* @param AgentConfig|AgentConfigShape $agentConfig Body param
104
104
* @param ExecuteOptions|ExecuteOptionsShape $executeOptions Body param
105
105
* @param string|null $frameID Body param: Target frame ID for the agent
106
+
* @param bool $shouldCache Body param: If true, the server captures a cache entry and returns it to the client
106
107
* @param \Stagehand\Sessions\SessionExecuteParams\XStreamResponse|value-of<\Stagehand\Sessions\SessionExecuteParams\XStreamResponse> $xStreamResponse Header param: Whether to stream the response via SSE
* @param AgentConfig|AgentConfigShape $agentConfig Body param
125
127
* @param ExecuteOptions|ExecuteOptionsShape $executeOptions Body param
126
128
* @param string|null $frameID Body param: Target frame ID for the agent
129
+
* @param bool $shouldCache Body param: If true, the server captures a cache entry and returns it to the client
127
130
* @param \Stagehand\Sessions\SessionExecuteParams\XStreamResponse|value-of<\Stagehand\Sessions\SessionExecuteParams\XStreamResponse> $xStreamResponse Header param: Whether to stream the response via SSE
128
131
* @param RequestOpts|null $requestOptions
129
132
*
@@ -136,6 +139,7 @@ public function executeStream(
Copy file name to clipboardExpand all lines: src/Services/SessionsService.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,7 @@ public function end(
160
160
* @param AgentConfig|AgentConfigShape $agentConfig Body param
161
161
* @param ExecuteOptions|ExecuteOptionsShape $executeOptions Body param
162
162
* @param string|null $frameID Body param: Target frame ID for the agent
163
+
* @param bool $shouldCache Body param: If true, the server captures a cache entry and returns it to the client
163
164
* @param \Stagehand\Sessions\SessionExecuteParams\XStreamResponse|value-of<\Stagehand\Sessions\SessionExecuteParams\XStreamResponse> $xStreamResponse Header param: Whether to stream the response via SSE
* @param AgentConfig|AgentConfigShape $agentConfig Body param
196
199
* @param ExecuteOptions|ExecuteOptionsShape $executeOptions Body param
197
200
* @param string|null $frameID Body param: Target frame ID for the agent
201
+
* @param bool $shouldCache Body param: If true, the server captures a cache entry and returns it to the client
198
202
* @param \Stagehand\Sessions\SessionExecuteParams\XStreamResponse|value-of<\Stagehand\Sessions\SessionExecuteParams\XStreamResponse> $xStreamResponse Header param: Whether to stream the response via SSE
199
203
* @param RequestOpts|null $requestOptions
200
204
*
@@ -207,6 +211,7 @@ public function executeStream(
0 commit comments