Skip to content

Commit 25d1951

Browse files
authored
Merge pull request #5 from Kilo-Org/fix/platform-detection
fix(osa) detection logic if on kiloclaw vs openclaw
2 parents 4ef4d7d + ae859b5 commit 25d1951

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
* side of that check.
88
*/
99
export function detectPlatform(): "kiloclaw" | "openclaw" {
10-
return process.env.KILOCLAW_INTERNAL_API_SECRET ? "kiloclaw" : "openclaw";
10+
return process.env.KILOCODE_FEATURE === "kiloclaw" ? "kiloclaw" : "openclaw";
1111
}

0 commit comments

Comments
 (0)