add lib tests

This commit is contained in:
geoffsee
2025-06-01 08:09:03 -04:00
committed by Geoff Seemueller
parent 7019aa30bc
commit 108e5fbd47
13 changed files with 924 additions and 155 deletions

View File

@@ -33,7 +33,7 @@ export class GoogleChatProvider extends BaseChatProvider {
],
},
});
return true; // Break the stream
return true;
} else {
dataCallback({
type: "chat",
@@ -47,7 +47,7 @@ export class GoogleChatProvider extends BaseChatProvider {
],
},
});
return false; // Continue the stream
return false;
}
}
}
@@ -67,7 +67,6 @@ export class GoogleChatSdk {
messages: param.messages,
model: param.model,
env: param.env,
disableWebhookGeneration: param.disableWebhookGeneration,
},
dataCallback,
);