Skip to content

Commit e00afc1

Browse files
committed
Use the v2 run engine by default in the SDK API client
V2 is the way to go for the future.
1 parent 5c0158e commit e00afc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/v3/apiClient/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ export class ApiClient {
801801
"Content-Type": "application/json",
802802
Authorization: `Bearer ${this.accessToken}`,
803803
"trigger-version": VERSION,
804-
"x-trigger-engine-version": taskContext.worker?.engine ?? "V1",
804+
"x-trigger-engine-version": taskContext.worker?.engine ?? "V2",
805805
...Object.entries(additionalHeaders ?? {}).reduce(
806806
(acc, [key, value]) => {
807807
if (value !== undefined) {

0 commit comments

Comments
 (0)