Sitelet https://github.com/nextcloud/integration_openai/pull/439
Skip to content

Add support for extra headers - #439

Open
julien-nc wants to merge 4 commits into
mainfrom
enh/noid/extra-headers
Open

julien-nc wants to merge 4 commits into
mainfrom
enh/noid/extra-headers

Conversation

@julien-nc

Copy link
Copy Markdown
Member

closes #436
refs #430

Some services might require extra headers like a non-standard authentication header.

  • Add the ability to define service-specific extra headers that are sent with all network requests
  • Add support for one variable ({$conversation_id) in the header value. This variable is only resolved in chat providers. It resolves to the conversation_id optional input that is sent by the assistant (see Let the chat providers know about the conversation/session ID assistant#674 ). This header will only be sent for chat requests.
image

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…tion ID passed as an optional input field in the chat providers

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>

This branch has not been deployed

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

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to send extra headers in the requests to the external service

1 participant