Skip to content

Make DataAPIClientOptions's clone and runCommand header construction honor rerankingAPIKey - #119

Open
sl-at-ibm wants to merge 1 commit into
datastax:mainfrom
sl-at-ibm:SL-propagate-rerank-api-key
Open

sl-at-ibm wants to merge 1 commit into
datastax:mainfrom
sl-at-ibm:SL-propagate-rerank-api-key

Conversation

@sl-at-ibm

Copy link
Copy Markdown
Contributor

This PR amends two shortcomings about managing the rerankAPIKey that one can set into the DataAPIClientOptions:

  1. the options' clone method now copies the secret to the clone;
  2. the runCommand uses that API Key when building the headers for a request.

(Tested through a local build and NoSQLBench.)

@clun
clun added this pull request to the merge queue Nov 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 16, 2026

@msmygit msmygit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants