Skip to content

Commit bad28f9

Browse files
committed
Bug: GitHub HealthService fails in standalone SDK scripts #7930
1 parent 9327fb8 commit bad28f9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ai/agents/pm.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,10 @@ async function run() {
109109
console.log('🚀 PM Agent Starting...');
110110

111111
// 1. Initialize Services
112-
/*
113112
const ghHealth = await GH_HealthService.healthcheck({});
114-
if (!ghHealth.authenticated) {
113+
if (!ghHealth.githubCli.authenticated) {
115114
throw new Error('GitHub Authentication failed. Check GH_TOKEN.');
116115
}
117-
*/
118116

119117
// Ensure Database is ready for querying
120118
console.log('🔌 Connecting to Knowledge Base...');
@@ -198,4 +196,3 @@ async function run() {
198196
}
199197

200198
run();
201-

0 commit comments

Comments
 (0)