Skip to content

Use X-Api-Key header when APIKey option is configured#1

Open
tyler-sommer wants to merge 1 commit intoiguanesolutions:mainfrom
tyler-sommer:x-api-key
Open

Use X-Api-Key header when APIKey option is configured#1
tyler-sommer wants to merge 1 commit intoiguanesolutions:mainfrom
tyler-sommer:x-api-key

Conversation

@tyler-sommer
Copy link
Copy Markdown

Hi there! First, thank you for this great library!

I have docling-serve set up to use an API key, but there seems to be a mismatch in this library. The docling-serve docs mention that when an API key is configured, the client must use an X-Api-Key header:
image

This library appears to be using Bearer token authorization instead. This PR aims to correct this.

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.

1 participant