Add the UNIUN Cloud LLM device tests (left out of #292: the cloud is not working right now)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Start by checking whether the UNIUN Cloud free model answers, since the payload says it failed earlier. Then restore the UNIUN Cloud group from commit 5fcdceb in integration_test/shiv_chat_regressions_e2e_test.dart, which exercises GenerateOneShotUseCase, SendChatStreamUseCase and UniunGatewayClient.streamChatCompletion. Run it with scripts/device_test.sh run on a phone connected to UNIUN Cloud; done means the group passes without publishing anything.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is left
PR #292 added device guards for the Shiv chat issues (#199, #123, #139) on the local models only. The UNIUN Cloud tests were left out on purpose, because the cloud was not working when #292 was written. They still need to be written and run.
Cloud is off right now: check it first
On the test phone, with the device's identity connected to UNIUN Cloud, the only free model in the catalog (gemma-4-31b-it) was unreliable:
- one-shot (
GenerateOneShotUseCase,backendOverride: uniunCloud) returned an empty string on some runs and"Twelve"on others; - streamed chat (
SendChatStreamUseCase,UniunGatewayClient.streamChatCompletion) failed withOpenAI API error ... "code": 500, "message": "Internal error encountered.", "status": "INTERNAL"; - background extraction on the cloud backend failed the same way (
Extract: LLM returned null); - in a later run the model probe found no free model that answered at all.
Whether this is the gateway, the upstream provider or the free tier itself is not known. Please check it before adding the tests.
Tests to add once the cloud answers
A first version existed in the history of #292 (commit 5fcdceb, group UNIUN Cloud in integration_test/shiv_chat_regressions_e2e_test.dart). It was removed from the PR; it can be restored from there.
- model list is non-empty and has a free model;
- a one-shot call returns text;
- a streamed chat call yields tokens and ends, and the time to the first token is printed;
- #123 on the cloud: with the real chat page, the dots and the Stop button are shown from send until the reply, and Stop ends the turn. #123 was only ever seen with the cloud model;
- an empty cloud completion is saved as
(no response), not a blank bubble (fix in #292).
Run on a phone that is connected to UNIUN Cloud. Use scripts/device_test.sh run integration_test/shiv_chat_regressions_e2e_test.dart. The test must not publish anything.
Refs #292, #123.
- Lingua principale
- Dart
- Stelle
- 2
- Fork
- 2
- Merge medio
- 1g 7h
- PR unite (30g)
- 35
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di basictech01/uniun
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
basictech01/uniun#300 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue P2-Medium
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
basictech01/uniun#296 ·
I maintainer di solito rispondono entro 1 giorno
-
bug P1-High
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
basictech01/uniun#286 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
P3-Low
Difficoltà 4/5 1-2 giorni Idoneità per principianti 30/100
basictech01/uniun#282 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement P2-Medium
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
basictech01/uniun#276 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di basictech01/uniun
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
chriskelly/wish-together#36 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
Paste asks for iOS paste permission because the default context menu ignores SystemContextMenuForse già presa @dorklein l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
maheshj01/searchfield#267 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
avdept/JellyBoxPlayer#375 ·
I maintainer di solito rispondono entro 1 giorno