mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
add lib tests
This commit is contained in:

committed by
Geoff Seemueller

parent
7019aa30bc
commit
108e5fbd47
@@ -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,
|
||||
);
|
||||
|
Reference in New Issue
Block a user