nextcloud / nextcloud/integration_openai

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

Open
#436 0 comments 0 reactions 1 assignee View on GitHub

@julien-nc is already working on this.

Since Sep 14, 2026.

enhancement
Dominant language
PHP
Stars
75
Forks
32
Avg merge
9d 8h
Merged PRs (30d)
4

Description

Describe the feature you'd like to request

Some providers require extra headers in the APi request.

For example, OpencodeGo requires a x-opencode-session header that identifies a user session so it can cache efficiently. AFAIK this header is now mandatory in this service.

Some other services might require similar headers. It would be nice to be able to set some extra headers in the admin settings.

Describe the solution you'd like

I think we should wait for #431 to get in.

It could be an additional input field in each "connected service" settings. A text are would work. The expected format could be:

header1: value1
header2: value2
Describe alternatives you've considered

The expected format could also be json:

{
  "header1": "value1",
  "header2": "value2"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.