misyaguziya
61cbe07f0f
デバイス管理モジュールのインポートをガードし、Windows固有の依存関係をオプショナルに変更。クラスの初期化メソッドを修正し、デフォルトデバイス変更時のコールバックを追加。ドキュメントを新規作成し、使用例や注意点を明示化。エラーハンドリングを強化し、コードの可読性を向上。
2025-10-09 19:04:31 +09:00
misyaguziya
eca5e31429
torchとctranslate2のインポートをガードし、安全なデフォルトを提供。型注釈とdocstringを追加して可読性を向上。ログ設定の重複ハンドラ追加を防ぐチェックを導入。encodeBase64はデコード失敗時に空辞書を返すように変更。getComputeDeviceListはGPU情報取得失敗時にCPU情報を返すように例外保護を追加。
2025-10-09 18:53:42 +09:00
misyaguziya
35e8d7dda9
スレッドセーフなトークナイザーアクセスのためにロックを追加。トークナイザーの呼び出し時に発生する可能性のあるRuntimeErrorを防ぐために、アクセスを直列化。
2025-10-09 18:43:12 +09:00
misyaguziya
944577eaf4
OSCモジュールのドキュメントを更新し、使用例や注意点を追加。型注釈を強化し、エラーハンドリングを改善。OSCHandlerクラスの初期化メソッドを修正し、サービスのアドバタイズ中の例外処理を追加。テストファイルを新規作成し、OSCモジュールのインポートテストを追加。
2025-10-09 17:39:52 +09:00
misyaguziya
690a2f081b
ドキュメントを更新し、型注釈を追加してコードの可読性とメンテナンス性を向上。各モジュールの使用例や依存関係を明示化し、エラーハンドリングを改善。
2025-10-09 17:35:55 +09:00
misyaguziya
b26129af68
翻訳モジュールのドキュメントを更新し、セットアップ手順やAPI使用例を追加。型注釈を強化し、関数の戻り値を明示化。エラーハンドリングを改善し、コードの可読性を向上。
2025-10-09 17:30:48 +09:00
misyaguziya
7d24b3839c
型注釈を追加し、関数の戻り値を明示化。コードの可読性と型安全性を向上。
2025-10-09 17:07:21 +09:00
misyaguziya
7255722b67
ウォッチドッグのドキュメントを更新し、使用例を追加。型注釈とエラーハンドリングの改善を反映。
2025-10-09 17:01:31 +09:00
misyaguziya
569d8e3f76
[ref] overlayのリファクタリングとテストを追加
2025-10-09 16:43:41 +09:00
misyaguziya
c1cf78cda4
[改善] 型注釈の追加とドキュメントの更新
...
- config.py, controller.py, model.py, mainloop.py, utils.py での型注釈の追加
- CODING_RULES.md と api.md のドキュメントを更新
- 不要なコードの削除とリファクタリング
2025-10-09 13:34:05 +09:00
misyaguziya
e67242a0c4
[新規追加] ドキュメントのエンドポイントとマッピングの検証スクリプトを追加
2025-10-09 13:15:01 +09:00
misyaguziya
5efa9c37d6
Add documentation for modules and runtime instructions
...
- Created detailed documentation for the device_manager, model, model_extra, osc, overlay, overlay_image, transcription, translation, transliteration, utils, watchdog, and websocket modules.
- Added a comprehensive run events payloads document outlining the payloads sent during various run events in the controller.
- Included runtime instructions and dependencies for setting up the project in a Windows environment.
- Introduced a mypy configuration file to manage type checking and ignore errors in specific modules temporarily.
2025-10-09 13:11:59 +09:00
Sakamoto Shiina
28e952ada3
👍 ️[Update] Version 3.2.2 -> 3.3.0
2025-10-09 09:23:05 +09:00
misyaguziya
78a580f521
OSCQueryの名前解決のためservice名をユニークに変更
...
service_nameを "VRCT" -> f"VRCT:{UTC}"
2025-10-08 13:01:16 +09:00
misyaguziya
6c655b6043
[Update] OverlayImage: Improve font loading logic with error handling for font file paths
2025-10-07 19:01:55 +09:00
misyaguziya
a167e57ff0
[Update] Test: Add translation tests for all language pairs and log results
...
[Update] remove unsupported langs
2025-10-07 13:33:04 +09:00
misyaguziya
cfd674bc5c
Merge branch 'test' into change_translation_process
2025-10-06 16:44:33 +09:00
misyaguziya
4572aee2b7
[Update] Controller and Model: Refactor translation device management and add parameter change tracking
2025-10-06 16:40:05 +09:00
misyaguziya
e2d401b848
実装漏れを修正
2025-10-06 14:30:35 +09:00
misyaguziya
c7bae73363
Merge branch 'bugfix_auto_device_select' into develop
2025-10-05 21:16:18 +09:00
misyaguziya
4b0c7e9775
[Update] Controller and DeviceManager: Refactor device management methods for mic and speaker separation
2025-10-05 21:15:44 +09:00
misyaguziya
eb08ed6ff6
Merge branch 'transliteration' into develop
2025-10-05 17:15:47 +09:00
misyaguziya
ca07aef201
[Update] Translator: Add check to return original message if source and target languages are the same
2025-10-05 17:15:25 +09:00
misyaguziya
3ee7246224
[Feature] Transliterator: Implement contextual transliteration rules and integrate with analysis method
2025-10-05 16:18:58 +09:00
misyaguziya
7b1e9136ee
[Update] Transliterator: Enhance transliteration control and improve tokenizer initialization
2025-10-04 22:25:55 +09:00
misyaguziya
df1ac3aaa0
Merge branch 'transliteration' into develop
2025-10-02 23:19:19 +09:00
misyaguziya
4b55a9bca2
[Fix] Controller: Remove redundant assignments in auto mic/speaker select methods
2025-10-02 23:05:06 +09:00
misyaguziya
fe3fea34ff
[Cleanup] Transliterator: Remove debug print statement from analyze method
2025-10-02 22:58:13 +09:00
misyaguziya
e32e5c1b5f
[Update] Transliterator: Change tokenizer mode to SplitMode.C and enhance analyze method for better reading assignment
2025-09-29 10:15:03 +09:00
misyaguziya
cde8b4b806
selected_translation_compute_type/selected_transcription_compute_typeのテストケースを追加
2025-09-28 06:57:58 +09:00
Sakamoto Shiina
e7cd872fcc
Merge branch 'bugfix_compute_type' into develop
2025-09-28 02:10:23 +09:00
misyaguziya
6effedcce2
[Update] Refactor compute type management: rename properties to 'SELECTED_TRANSLATION_COMPUTE_TYPE' and 'SELECTED_TRANSCRIPTION_COMPUTE_TYPE'
2025-09-27 07:07:54 +09:00
misyaguziya
5366622fca
[Update] Refactor compute device management: change methods to instance methods and set compute types to "auto"
2025-09-26 23:30:39 +09:00
misyaguziya
92f9d645f8
[Update] Refactor compute type management: rename CTranslate2 and Whisper compute types to Translation and Transcription
2025-09-25 22:56:16 +09:00
misyaguziya
9e2c91905c
SHOW_RESEND_BUTTONの条件を修正し、main_instanceの起動処理を簡素化
2025-09-25 17:27:08 +09:00
misyaguziya
272ed8629f
bugfix test case
2025-09-25 16:39:18 +09:00
misyaguziya
96ffd5509f
テストコードな名前を変更
2025-09-25 12:43:23 +09:00
misyaguziya
93bdec7922
エンドポイントテストにおいて、401および404ステータスの処理を追加し、該当するエンドポイントに対するテスト結果を記録する機能を実装。
2025-09-25 12:37:13 +09:00
misyaguziya
89a027a8e0
エンドポイントテストのリファクタリングを実施し、動的にエンドポイントを取得するように変更。テスト結果の記録機能を追加し、削除系エンドポイントのテストを新たに実装。テスト結果のサマリー表示機能も追加。
2025-09-25 12:30:35 +09:00
misyaguziya
53f1b95843
エンドポイントテストの期待されるステータスを強化し、リクエスト処理の結果を改善。データ設定系のエンドポイントにおけるランダムデータの範囲を拡大し、出力メッセージをフラッシュするように修正。
2025-09-24 23:51:22 +09:00
misyaguziya
1b0e93b8f8
特定のエンドポイントに対するランダムアクセスのテストを追加し、出力メッセージを改善。テストの範囲を拡大し、無効化エンドポイントの処理を強化。
2025-09-24 21:12:08 +09:00
misyaguziya
c38e474385
エンドポイントテストを強化し、ON/OFF状態のテストメソッドをリファクタリング。データ設定系および実行系エンドポイントのテストを追加し、ランダムアクセスのテストを実装。
2025-09-24 01:06:11 +09:00
misyaguziya
95cf247e2e
処理の安定化のために待機時間を追加し、エンドポイントテストを強化。テストケースを整理し、実行系のエンドポイントテストを新たに追加。
2025-09-23 23:19:35 +09:00
misyaguziya
d9f1dabecb
テストメソッドの出力メッセージを改善し、データ設定系のエンドポイントテストを追加
2025-09-23 20:51:09 +09:00
misyaguziya
a4656a5081
Controllerクラスの設定メソッドを修正し、重複した設定を防止する条件を追加。テストケースを更新し、ON/OFF状態のランダムアクセスと連続テストを強化。
2025-09-23 16:56:11 +09:00
misyaguziya
1689a45e3e
Refactor test_endpoints.py: Enhance endpoint testing with structured tests for ON/OFF states, random access, and continuous testing. Introduce Color class for colored output and streamline endpoint handling logic.
2025-09-23 14:45:08 +09:00
misyaguziya
29ca5bfbe1
[WIP/TEST] Mainクラスの初期化ロジックを改善し、テスト用のエンドポイントを追加
2025-09-23 07:25:48 +09:00
misyaguziya
46584a0e3e
Merge branch 'bugfix_overlay' into develop
2025-09-19 22:50:10 +09:00
misyaguziya
c171588ba9
[bugfix] Chat機能より改行を含む文章を送信した場合に、マルチラインのoverlayの表示に失敗する問題を修正
2025-09-19 22:49:48 +09:00
misyaguziya
9d94fd6a5e
[Update] Refactor compute type management: unify device list retrieval and remove deprecated methods
2025-09-19 18:09:39 +09:00