nextcloud / nextcloud/integration_openai

The integration does not present itself to NC in a consistent way

Open
#305 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Which version of integration_openai are you using?

3.9.1

Which version of Nextcloud are you using?

32.0.2

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Safari 26.1 (build 21622.2.11.11.9)

Describe the Bug

I struggle to understand what this integration does and what it does not. The settings available in the Nextcloud assistant once the integration is installed are rather confusing:

Image

It warns me it needs something to generate stickers but I have the sticker feature turned off.
It warns me it needs something for speech-to-text, though if I have S2T turned off
It wants me to install OpenAI/LocalAI integration... but I have it installed:

Image

These may be bugs in the NC Assistant and I raised them there. However I struggle to understand the actual functionality of the "integration" since it passes the input from NC to LocalAI (etc) and - in most cases - is able to get the results back. Well, OK, but NC claims there are no functions available, while they are and in the process it introduces a mess in the NC UI.

  • selected the "extract topics" and "summarize" toggles, the functionality becomes available in the NC Assistant, however there is no way to instruct the LocalAI integration to use a specialized model for topic extraction and summary. It will use whatever text generation is selected.
  • NC Assistant claims there are no text nor image generation "apps"
Image

yet this is exactly what LocalAI/OpenAI integration does. Allows NC Assistant to process text. Same goes for the image generation - warning of "None of your currently installed apps provide image generation functionality" while NC Assistant provides exactly this functionality once it interfaced to an image generation model running on LocalAI.

Expected Behavior
  1. Ability to reliably map OpenAI/LocalAI models functionality to tasks that are made available to users
  2. Removal of unnecessary alerts claiming OpenAI/LocalAI integration is not installed
  3. UI and message cleanup for clarity
To Reproduce
  1. Install NC Assistant and OpenAI/LocalAI integration
  2. Connect to an AI engine (OpenwebUI proxying to underlying models in my case)
  3. Manage the integration from "Nextcloud Assistant" pane in NC Settings.

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.

Research direction

Start by reproducing the Nextcloud Assistant settings with integration_openai 3.9.1 and Nextcloud 32.0.2, then compare the enabled task toggles and installed integrations with the capabilities reported by the UI. Done means model capabilities are mapped reliably and the incorrect availability warnings and confusing messages are removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
full-stack
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.