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
feat(runs): add clientConfig support to runs.retrieve() and runs.poll()
- Change requestOptions type from ApiRequestOptions to TriggerApiRequestOptions
- Pass clientConfig to apiClientManager.clientOrThrow() for per-request auth
- Enables multi-project scenarios with different access tokens per request
Fixes#2769
feat(runs): add clientConfig support to runs.retrieve() and runs.poll()
6
+
7
+
This change updates `runs.retrieve()` and `runs.poll()` to accept `TriggerApiRequestOptions` instead of `ApiRequestOptions`, enabling per-request client configuration via the `clientConfig` property.
8
+
9
+
This aligns `runs.retrieve()` with other SDK methods like `tasks.trigger()` that already support `clientConfig` for multi-project scenarios where different access tokens are needed per request.
0 commit comments