Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add the UNIUN Cloud LLM device tests (left out of #292: the cloud is not working right now)

オープン
#293 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart
領域
ai, mobile, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug good first issue P2-Medium

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 with OpenAI 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.

主要言語
Dart
スター
2
フォーク
2
平均マージ
1日 7時間
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

basictech01/uniun のほかの issue

basictech01/uniun の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。