misyaguziya
f327b8e4fa
[Add] Controller: Update model selection logic for Groq and OpenRouter, and add corresponding API endpoints in mainloop.
2025-12-11 09:28:38 +09:00
misyaguziya
8b853f4c20
[Add] OpenRouter: Integrate OpenRouter API for authentication, model management, and translation capabilities.
2025-12-10 23:48:56 +09:00
misyaguziya
e59d52815c
[Add] Groq: Implement Groq API integration with authentication, model management, and translation capabilities.
2025-12-10 23:33:51 +09:00
misyaguziya
9a35577ec6
[Update] Controller: Add methods for LMStudio and Ollama connection status checks
2025-11-24 18:01:30 +09:00
misyaguziya
215f5f6815
[Refactor] Update endpoint names to use 'selectable' prefix for mic, speaker, and translation engines
2025-11-12 20:55:08 +09:00
misyaguziya
5ce281e99b
Main.startを簡素化し、受信/ハンドラスレッドの起動を削除してメインループで稼働を維持。KeyboardInterruptでstopを呼び出すように変更
2025-10-28 23:02:16 +09:00
misyaguziya
caeb8b6888
Merge branch 'translate_api' into develop
2025-10-20 17:20:02 +09:00
misyaguziya
306f0af734
controller: 翻訳モデル選択時にモデル適用とクライアント更新を確実に行うよう修正
...
- デフォルト選択時および明示的なモデル設定時に model.setTranslatorXModel(...) を呼び出し、モデル状態を確実に反映
- OpenAI/LMStudio/Ollama/Plamo/Gemini/Ollama でクライアント更新を適切な箇所に追加して整合性を向上
mainloop: LMStudio/Ollama 接続チェックのエンドポイントを run 系に変更、ローマ字変換関連を追加
- "/get/data/*_connection" → "/run/*_connection" に変更(LMStudio/Ollama)
- ローマ字変換(convert_message_to_romaji) のマッピングを追加(取得/有効化/無効化)
translation_ollama: 認証チェックのエンドポイント呼び出しを修正
- base_url + "/api/ping" ではなく base_url 直下に対して GET を行うよう変更(環境による応答差異に対応)
2025-10-20 03:48:41 +09:00
misyaguziya
83e72b37cc
LMStudio 接続チェックとモデル選択処理を追加・強化、mainloop にエンドポイント追加、LMStudio/Ollama のモデル取得を例外耐性化
...
- Controller に checkTranslatorLMStudioConnection を追加し、接続成功時に SELECTABLE_TRANSLATION_ENGINE_STATUS や SELECTABLE_LMSTUDIO_MODEL_LIST を更新、選択モデルのフォールバック設定・クライアント更新・UI 更新呼び出しを行うよう実装
- setTranslatorLMStudioURL を接続成功時にモデルリスト/ステータス更新や選択モデルのフォールバック処理を行うよう拡張
- checkTranslatorOllamaConnection 成功時にも SELECTABLE_TRANSLATION_ENGINE_STATUS/モデルリスト更新、選択モデルフォールバック、クライアント更新、UI 更新呼び出しを追加
- mainloop に /get/data/lmstudio_connection エンドポイントを追加して LMStudio 接続チェックを公開
- translation_lmstudio.py と translation_ollama.py のモデル取得処理を try/except で保護し、例外時は空リストを返すよう修正(接続失敗やレスポンス異常に対する耐性向上)
2025-10-20 00:38:38 +09:00
misyaguziya
e71bf17e13
各翻訳クライアントで supported_languages を YAML から translation_lang に移行・参照するよう修正、プロンプトYAMLの重複した supported_languages ブロックを削除、LMStudio のデフォルト URL を /v1 に変更、mainloop に LMStudio/Ollama のモデル関連エンドポイントと run_mapping を追加、Controller 内の Ollama 表記のtypo(Lollama→Ollama)を修正してメソッド名・ログ文を更新、各クライアントで translation_languages のフォールバック import を追加
2025-10-19 22:07:58 +09:00
misyaguziya
80a7fd7107
updateSelectedMicDeviceで選択マイクのホスト/デバイス通知を分割、restartAccessMicDevicesの戻り値と通知を調整、run_mappingにselected_mic_hostを追加(位置調整)
...
- Controller.updateSelectedMicDevice: これまで単一のペイロードで送っていた{"host", "device"}をやめ、selected_mic_hostとselected_mic_deviceを個別にrunで通知するように変更。
- Controller.restartAccessMicDevices: selected_mic_deviceのrun通知を追加し、戻り値をデバイス情報の辞書からSELECTED_MIC_HOSTに変更。
- mainloop.run_mapping: selected_mic_hostエントリを追加(配置を調整)して通知先キーを確実に登録。
2025-10-17 11:10:39 +09:00
misyaguziya
c18748f6bc
翻訳モデル設定を SELECTED_* に統一し、Controller と UI 更新の連携を追加
...
- config: PLAMO_MODEL/GEMINI_MODEL/OPENAI_MODEL を SELECTED_PLAMO_MODEL/SELECTED_GEMINI_MODEL/SELECTED_OPENAI_MODEL にリネーム
- JSON シリアライズキーも SELECTED_* に変更
- 初期化フィールドを新キーに合わせて修正
- controller: すべての参照を新しい SELECTED_* プロパティへ置換
- モデル一覧取得時に run コールバックで selectable リストを通知
- 選択モデルを更新した際に run コールバックで選択状態を通知
- モデル更新・クライアント再構築処理の呼び出しを保持
- mainloop: GUI 更新用の run_mapping に selectable/selected のモデル関連エンドポイントを追加
2025-10-16 21:55:27 +09:00
misyaguziya
a862805a05
OpenAI関連のメソッド名を統一し、認証後のモデル更新処理を追加
...
- メソッド名を OpenAi -> OpenAI に統一(get/set/del/get_model_list/get_model/set_model)
- OpenAI 認証キー設定時にモデル一覧を取得して SELECTABLE_OPENAI_MODEL_LIST を更新、選択モデルが存在しなければ第一候補へフォールバックして OpenAI クライアントを再初期化する処理を追加
- model のメソッド名を setTranslatorOpenAiModel -> setTranslatorOpenAIModel に変更
- mainloop のエンドポイントマッピングを新しいメソッド名に合わせて更新
2025-10-16 18:53:45 +09:00
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
914789c9cb
mainloopのスレッド管理を改善し、マルチワーカー化を実装。デバイス管理の初期化を遅延させ、エラーハンドリングを強化。ドキュメントを更新し、設定の変更点を明示化。
2025-10-13 08:28:27 +09:00
misyaguziya
0130792682
mainloopモジュールのドキュメントを新規作成し、Mainクラスのstart()/stop()メソッドを追加。受信スレッドとハンドラスレッドのライフサイクル管理を明示化し、エラーハンドリングを強化。ポーリング負荷を低減するためにqueue.get()にタイムアウトを追加。
2025-10-09 22:52:15 +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
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
95cf247e2e
処理の安定化のために待機時間を追加し、エンドポイントテストを強化。テストケースを整理し、実行系のエンドポイントテストを新たに追加。
2025-09-23 23:19:35 +09:00
misyaguziya
29ca5bfbe1
[WIP/TEST] Mainクラスの初期化ロジックを改善し、テスト用のエンドポイントを追加
2025-09-23 07:25: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
misyaguziya
5f0f918642
[Update] Rename and add methods for CTranslate2 compute type management in Controller
2025-09-17 10:52:56 +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
misyaguziya
4e53584cff
[Update] mainloop: Improve receiver loop to handle empty input and add stop message
...
[Update] osc: Refactor OSC query service initialization to run in a separate thread
2025-09-11 23:11:39 +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
d12c157b66
[Update] Refactor message formatting and add validation for message structure
2025-08-06 20:33:36 +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
d96c9a5151
[Chore] Fix typo in test code. '/set/data/mic_word_filter'
2025-06-15 17:53:41 +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
dfc90508d1
[Fix] Controller: Handle VRAM overflow errors during translation and transcription processes.
2025-06-02 15:07:33 +09:00
misyaguziya
b1c68679cd
Merge branch 'osc' into develop
2025-05-29 09:16:53 +09:00
misyaguziya
67d06ab1e1
[Update] Enhance build scripts and requirements for Hugging Face integration; improve logging and error handling
2025-05-29 08:04:06 +09:00
misyaguziya
238bd41109
[Update] Refactor Hugging Face dependencies in requirements files and enhance cache directory handling in mainloop.py
2025-05-28 11:14:39 +09:00
misyaguziya
8dac3da933
[Update] Add hf_xet and huggingface-hub to requirements; enhance mainloop.py for Hugging Face caching
2025-05-27 14:12:20 +09:00
misyaguziya
23fc46bd0f
[Update] OSC: Refactor OSC query handling and add enable/disable methods
2025-05-25 15:42:33 +09:00
misyaguziya
d940097e44
👍 ️[Update] Model : WebSocket module
2025-05-17 09:30:17 +09:00
Sakamoto Shiina
7e637b795d
[Update/Refactor/bugfix]
...
Update: Add functions and test ui.
Update, backend: send latest vrct version to frontend.
Refactor: Change the plugins data structure.
bugfix: fix endless showing update button.
2025-04-09 17:34:55 +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
4b61178b0e
👍 ️[Update] Main/Controller/Model/Config : VRC ChatBoxの通知音のON/OFFのエンドポイントを追加
2025-02-18 14:23:02 +09:00
misyaguziya
7746cffb08
👍 ️[Update] Controller : AIモデルが使用可能かを通知するエンドポイントを追加
2025-02-08 14:29:02 +09:00
misyaguziya
07723d495a
🐛 [bugfix] controller: offline時の処理でエラーになる問題を修正
2025-02-07 10:34:29 +09:00
misyaguziya
78d79f4a54
🐛 [bugfix] controller: offline時の処理を追加
2025-02-06 18:29:07 +09:00
misyaguziya
483e6a1d32
🐛 [bugfix] Main/Controller : 処理順を修正
2025-02-04 21:05:05 +09:00