retell-sync-cli 3.7.0 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -2
- package/package.json +1 -1
- package/.env.local +0 -1
- package/.oxlintrc.json +0 -12
- package/.prettierrc.json +0 -7
- package/.vscode/settings.json +0 -9
- package/test/raw-agents-list-response.json +0 -7264
- package/test/raw-conversation-flow-list-response.json +0 -56946
- package/test/raw-llms-list-response.json +0 -29782
- package/tsconfig.json +0 -29
package/dist/cli.js
CHANGED
|
@@ -135192,7 +135192,7 @@ async function getTestCaseDefinitions(responseEngine) {
|
|
|
135192
135192
|
params.set("version", String(responseEngine.version));
|
|
135193
135193
|
}
|
|
135194
135194
|
}
|
|
135195
|
-
const response = await fetch(`https://api.retellai.com/list-test-case-definitions?${params}`, {
|
|
135195
|
+
const response = await fetch(`https://api.retellai.com/list-test-case-definitions?${params.toString()}`, {
|
|
135196
135196
|
headers: {
|
|
135197
135197
|
Authorization: `Bearer ${process.env.RETELL_API_KEY}`,
|
|
135198
135198
|
"Content-Type": "application/json"
|
|
@@ -135250,7 +135250,8 @@ async function fetchAndWriteTestCases({
|
|
|
135250
135250
|
try {
|
|
135251
135251
|
testCases = await getTestCaseDefinitions(normalizedEngine);
|
|
135252
135252
|
} catch (err) {
|
|
135253
|
-
|
|
135253
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
135254
|
+
console.warn(`Warning: Could not fetch test cases for ${agentName}: ${message}`);
|
|
135254
135255
|
continue;
|
|
135255
135256
|
}
|
|
135256
135257
|
if (testCases.length === 0) {
|
package/package.json
CHANGED
package/.env.local
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
RETELL_API_KEY="key_12a24954adfaf146f4a3cd6616a3"
|
package/.oxlintrc.json
DELETED
package/.prettierrc.json
DELETED