Skip to content

Commit 26e4961

Browse files
committed
Suppress ServiceConnect::warnnosync message
1 parent 947ae19 commit 26e4961

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Scripts/TestPaclet.wls

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ $testDir = cDir @ FileNameJoin @ { $pacletDir, "Tests" };
1515
$ccsTests = FileNameJoin @ { $testDir, "CurrentChatSettings.wlt" };
1616

1717
If[ StringQ @ Environment[ "GITHUB_ACTIONS" ],
18-
ServiceConnect[
19-
"OpenAI",
20-
Authentication -> <| "APIKey" -> Environment[ "OPENAI_API_KEY" ] |>,
21-
SaveConnection -> False
18+
Quiet[
19+
ServiceConnect[
20+
"OpenAI",
21+
"New",
22+
Authentication -> <| "APIKey" -> Environment[ "OPENAI_API_KEY" ] |>,
23+
SaveConnection -> False
24+
],
25+
ServiceConnect::warnnosync
2226
]
2327
];
2428

0 commit comments

Comments
 (0)