Skip to content
Snippets Groups Projects
Commit e2cfeaf2 authored by joshhytr's avatar joshhytr Committed by Scott Euser
Browse files

Issue #3411462 by kunal_singh, JoshHytr: Can't save Embeddings Settings with Pincone

parent 9c87a378
No related branches found
No related tags found
1 merge request!80Set the new configuration values for this Pinecone plugin instance before validating.
......@@ -313,6 +313,10 @@ class Pinecone extends VectorClientPluginBase {
* {@inheritdoc}
*/
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
// Set the new configuration values for this instance before validating.
$this->setConfiguration($form_state->getValues());
// Attempt to validate the new configuration.
try {
$this->getClient()->post(
'/describe_index_stats',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment