Add the UNIUN Cloud LLM device tests (left out of #292: the cloud is not working right now)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Dart
- Star
- 2
- Fork
- 2
- Merge trung bình
- 1 ngày 35 phút
- Pull request đã merge (30 ngày)
- 36
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của basictech01/uniun
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
basictech01/uniun#300 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
basictech01/uniun#301 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue P2-Medium
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
basictech01/uniun#296 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P1-High
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
basictech01/uniun#286 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
P3-Low
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 30/100
basictech01/uniun#282 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của basictech01/uniun
Issue tương tự
-
good-first-issue P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
flutter/dart-intellij-third-party#758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Incorrect location coordinates on logged Sound Meter dataCó thể đã có người làm @Jashan32 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/archive bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DarkFlippers/qUnleashed#374 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:in-progress agent:ready feature P2 · 中 区域: 悬浮窗
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ASDW51/DanmuFloat#178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing workoutsĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
InlitX/GymMane#237 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày