mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
refactor(BaseClient, GoogleClient): make sendCompletion required, refactor Google to use Base sendMessage (#591)
This commit is contained in:
parent
4e317c85fd
commit
77d5fb0c58
2 changed files with 39 additions and 56 deletions
|
|
@ -26,6 +26,10 @@ class BaseClient {
|
|||
throw new Error("Method 'getCompletion' must be implemented.");
|
||||
}
|
||||
|
||||
sendCompletion() {
|
||||
throw new Error("Method 'sendCompletion' must be implemented.");
|
||||
}
|
||||
|
||||
getSaveOptions() {
|
||||
throw new Error('Subclasses must implement getSaveOptions');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue