nextcloud / nextcloud/ios

Prompt In Assistant Does Not Find Required Language Model

Open
#3,213 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Have an account set up and connected to a Nextcloud server with Assistant available.
  2. Open the "Free prompt" in the Assistant of the iOS app.
  3. Try to start anything with a new conversation.
Expected behaviour

Only an error notification is shown.

Actual behaviour

The server actually is queried with the entered prompt.

Logs

Request:

POST https://cloud.nextcloud.com//ocs/v2.php/textprocessing/schedule

Response (body):

{"ocs":{"meta":{"status":"failure","statuscode":412,"message":""},"data":{"message":"Erforderlicher Sprachmodellanbieter ist nicht verf\u00fcgbar"}}}
Reasoning or why should it be changed/implemented?
Environment data

iOS version: e.g. iOS 18.1

Device: iOS Simulator and iPhone XS Max

Nextcloud iOS app version: Both HEAD of develop as well as App Store release 6.1.6.1

Server: cloud.nextcloud.com

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 free-prompt flow in the iOS Assistant against a Nextcloud server with Assistant enabled, then trace the POST request to /ocs/v2.php/textprocessing/schedule and its 412 response. Done should be defined by the intended handling of an unavailable required language model, but the issue does not identify a source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.