feat(Anthropic, Google, OpenAI): allow changing settings/presets conversations mid-convo (#636)

feat(AnthropicClient.js, GoogleClient.js): add promptPrefix and modelLabel to getSaveOptions method
This commit is contained in:
Danny Avila 2023-07-13 23:59:44 -04:00 committed by GitHub
parent 1b999108e4
commit 637bb6bc11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 11 deletions

View file

@ -216,6 +216,8 @@ class GoogleClient extends BaseClient {
getSaveOptions() {
return {
promptPrefix: this.options.promptPrefix,
modelLabel: this.options.modelLabel,
...this.modelOptions
};
}