Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NC Assistant #2840

Closed
tobiasKaminsky opened this issue Mar 12, 2024 · 3 comments
Closed

NC Assistant #2840

tobiasKaminsky opened this issue Mar 12, 2024 · 3 comments
Assignees

Comments

@tobiasKaminsky
Copy link
Member

See nextcloud/files-clients#50 (comment)

@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Mobile clients team Mar 12, 2024
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 🤖 🍏 Mobile clients team Mar 12, 2024
@alperozturk96
Copy link

Certain task types are not supported on mobile devices. Therefore, we are excluding these task types from the incoming tasks received from the backend.

   val excludedIds = listOf("OCA\\ContextChat\\TextProcessing\\ContextChatTaskType")
             val result = arrayListOf(TaskType(null, allTaskType, null))
             val taskTypesResult = repository.getTaskTypes()

            if (taskTypesResult.isSuccess) {
                val excludedTaskTypes = taskTypesResult.resultData.types.filter { item -> item.id !in excludedIds } 
                ...
            }

@marinofaggiana
Copy link
Member

@alperozturk96 in't only "OCA\ContextChat\TextProcessing\ContextChatTaskType" excluded ?

@mpivchev

@alperozturk96
Copy link

@alperozturk96 in't only "OCA\ContextChat\TextProcessing\ContextChatTaskType" excluded ?

@mpivchev

When you fetch, you should get two task type and only that one should be excluded

@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 🤖 🍏 Mobile clients team Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants