Commit Graph

127 Commits

Author SHA1 Message Date
misyaguziya
526fd4d5aa 翻訳バックエンドを拡張・リファクタリング:OpenAI/Plamo/Gemini クライアントを追加・改修し、プロンプトを YAML から読み込むように変更。各クライアントでモデル一覧取得・認証・クライアント更新機能を実装し、Translator/Model 層の対応メソッドを追加。Controller と mainloop にプラモ・ジェミニ・OpenAI の認証/モデル操作エンドポイントを追加・整備。config のモデル/API設定をプロパティ化して既定値を None に変更し、選択肢リストを初期化。translation_languages に OpenAI 用マッピングを追加。requirements ファイルの依存記述を調整。 2025-10-16 18:09:08 +09:00
misyaguziya
6fc89fbb3e Merge branch 'develop' into translate_api
# Conflicts:
#	requirements.txt
#	requirements_cuda.txt
#	src-python/config.py
#	src-python/mainloop.py
#	src-python/model.py
#	src-python/models/osc/osc.py
#	src-python/models/translation/translation_languages.py
#	src-python/models/translation/translation_translator.py
#	src-python/models/translation/translation_utils.py
2025-10-14 12:47:47 +09:00
misyaguziya
b0403cfa70 Merge branch 'refacta_backend' into develop 2025-10-14 12:14:28 +09:00
misyaguziya
914789c9cb mainloopのスレッド管理を改善し、マルチワーカー化を実装。デバイス管理の初期化を遅延させ、エラーハンドリングを強化。ドキュメントを更新し、設定の変更点を明示化。 2025-10-13 08:28:27 +09:00
Sakamoto Shiina
127ff3e84a 👍️[Update] Version 3.3.0 -> 3.3.1 2025-10-10 09:29:35 +09:00
misyaguziya
ba13443d1c config.pyのリファクタリングを実施し、外部モジュールのインポートをガードして安全性を向上。初期化時のエラーハンドリングを強化し、デフォルト値の取得を安全に行えるように修正。関連ドキュメントを新規作成し、変更点と利用上の注意を明示化。 2025-10-09 19:27:55 +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
Sakamoto Shiina
28e952ada3 👍️[Update] Version 3.2.2 -> 3.3.0 2025-10-09 09:23:05 +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
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
9d94fd6a5e [Update] Refactor compute type management: unify device list retrieval and remove deprecated methods 2025-09-19 18:09:39 +09:00
misyaguziya
6501e0c1d7 [Update] 修正: SELECTED_TARGET_LANGUAGESの初期化ロジックを改善し、最初の言語のみを有効化 2025-09-19 11:06:23 +09:00
misyaguziya
3d34b50793 ConfigクラスにSELECTED_TAB_TARGET_LANGUAGES_NO_LISTプロパティを追加し、メッセージの変換処理を改善 2025-09-17 12:35:14 +09:00
misyaguziya
245855d0ca [Update] Add compute type management for CTranslate2 and Whisper models 2025-09-17 10:35:34 +09:00
misyaguziya
224eaf3cef [Add] translation_gemini: Integrate Gemini translation model and authentication; [Update] controller: Implement methods for managing Gemini models and auth keys; [Update] mainloop: Add routes for Gemini model and auth key management; [Update] translation: Enhance Translator class for Gemini API support; [Update] translation_languages: Add Gemini language mappings 2025-09-15 17:42:09 +09:00
Sakamoto Shiina
684d9c3283 [Update] Version 3.2.1 -> 3.2.2 2025-09-11 17:00:15 +09:00
misyaguziya
bc269bc1fb [Update] translation: Integrate Plamo API support with model selection and authentication features 2025-09-11 14:15:26 +09:00
misyaguziya
f5ebcd7bd8 [Update] translation: Add Plamo API support with authentication and translation functionality 2025-09-10 17:52:42 +09:00
misyaguziya
83a61e2e87 [Update] translation: Add support for new translation models and improve weight handling 2025-09-08 16:27:47 +09:00
misyaguziya
b1fabc37a4 [Update] Add comments to clarify property access levels in Config class 2025-08-06 21:36:51 +09:00
misyaguziya
d12c157b66 [Update] Refactor message formatting and add validation for message structure 2025-08-06 20:33:36 +09:00
misyaguziya
c2f40d2f5d [Update] version 3.2.0 -> 3.2.1 2025-06-24 21:23:18 +09:00
Sakamoto Shiina
cbfce55c16 [Refactor] Move the code that is related with Send Message Button Type. (It was remained at Others section but it should've move to Appearance section so.) 2025-06-15 18:11:07 +09:00
Sakamoto Shiina
3f38bfbba8 [Update] Resend Message Button: To be store-able the status.
Move to Appearance settings.
2025-06-15 17:49:42 +09:00
misyaguziya
2118ec9d01 [Update] Version 3.1.2 -> 3.2.0 2025-06-03 11:08:31 +09:00
misyaguziya
60fb58f6d5 [Update] WebSocket: Disable server by default and add port availability check 2025-05-20 11:08:11 +09:00
misyaguziya
f0f0dd5ea5 Merge branch 'websocket' into develop 2025-05-18 15:24:35 +09:00
misyaguziya
e7304247c7 [Update] WebSocket configuration: Change host to 127.0.0.1 and port to 2231; refactor WebSocket server initialization and message handling 2025-05-18 15:20:27 +09:00
misyaguziya
d940097e44 👍️[Update] Model : WebSocket module 2025-05-17 09:30:17 +09:00
misyaguziya
d0e0fc3c28 [Update] Version 3.1.1 -> 3.1.2 2025-05-15 12:43:00 +09:00
Sakamoto Shiina
a94fff401b 👍️[Update] Version 3.1.0 -> 3.1.1 2025-05-11 17:52:11 +09:00
misyaguziya
8d6da2eacc [Update] Version 3.0.5 -> 3.1.0 2025-05-08 16:10:19 +09:00
Sakamoto Shiina
e9aa3aa8ac Merge branch 'develop' into plugins_system
# Conflicts:
#	src-tauri/tauri.conf.json
2025-04-24 02:20:00 +09:00
misyaguziya
066c4fa4e4 👍️[Update] Version 3.0.4 -> 3.0.5 2025-04-22 10:24:49 +09:00
Sakamoto Shiina
0148f9bee0 [Update] (Affect to backend) Plugin System. Saveable if the plugin is enabled or not.
Add functions that merge plugins data.
2025-03-25 13:30:52 +09:00
misyaguziya
8e97621fca 👍️[Update] Version 3.0.3 -> 3.0.4 2025-02-21 14:56:49 +09:00
misyaguziya
62571f55a1 👍️[Update] Version 3.0.2 -> 3.0.3 2025-02-19 13:38:55 +09:00
misyaguziya
4b61178b0e 👍️[Update] Main/Controller/Model/Config : VRC ChatBoxの通知音のON/OFFのエンドポイントを追加 2025-02-18 14:23:02 +09:00
misyaguziya
058e72b52b 👍️[Update] Version : 3.0.1 -> 3.0.2 2025-02-12 20:19:42 +09:00
misyaguziya
78d79f4a54 🐛[bugfix] controller: offline時の処理を追加 2025-02-06 18:29:07 +09:00
Sakamoto Shiina
bac7bb15d3 [Update] Add hotkeys main functions 2025-01-17 02:41:27 +09:00
Sakamoto Shiina
34d221c437 [Update] Save and register -able. 2025-01-13 06:56:13 +09:00
misyaguziya
5b21aef481 👍️[Update] Version : 3.0.0 -> 3.0.1 2024-12-31 19:46:40 +09:00
misyaguziya
6d28f62aba 👍️[Update] Version : v 2.2.9 -> v 3.0.0. 2024-12-28 15:48:27 +09:00
misyaguziya
1afbd8fec6 👍️[Update] Controller : 翻訳エンジンがlimit error時にerror対象の翻訳エンジンのみを使用不可にするように変更 2024-12-17 02:18:26 +09:00
misyaguziya
3fa819df3f 👍️[Update] All : 不要なprintLogを削除 / なるべくtry exceptした場合にはerrorLogを保存するように変更 2024-12-16 23:38:05 +09:00
misygauziya
030b8a9f01 👍️[Update] Main : error logのトレースバックの処理を集約 2024-12-16 14:22:49 +09:00
misygauziya
a78d63398d 👍️[Update] Config : 初回起動時に限りgpuが使える場合はdefaultでgpuを使用する設定になるように変更 2024-12-16 10:11:53 +09:00
misyaguziya
cf04771d32 👍️[Update] Controller : メッセージフォーマットの翻訳を改行で表現するように変更 2024-12-14 19:07:32 +09:00