nextcloud / nextcloud/integration_openai
Allow to send extra headers in the requests to the external service
@julien-nc is already working on this.
Since Sep 14, 2026.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.