Commit Graph

503 Commits

Author SHA1 Message Date
misyaguziya
4e5acd4ac3 [Update] クリップボード機能を統合し、コピーとペーストを一度の呼び出しで実行できるように変更 2026-01-13 21:12:05 +09:00
misyaguziya
c257591b21 [Update] 後方互換性のためのモデルの重みディレクトリ名変更機能を追加 2026-01-13 15:25:01 +09:00
misyaguziya
d39d5a198e [Update] 互換性のために古いモデルのディレクトリ名を変更する機能を追加 2026-01-13 11:15:31 +09:00
misyaguziya
0f9f7ec3f3 [Update] 英語とポルトガル語の表記を修正 2026-01-13 10:40:46 +09:00
misyaguziya
a31e47bf85 [Update] 翻訳エンジンのバックグラウンドチェックを削除し、エンジンのステータス確認を簡素化 2026-01-11 14:27:23 +09:00
misyaguziya
4559d83766 [Update] クリップボード機能の設計書を追加し、設定およびコントローラーの制御を明記 2026-01-11 08:55:30 +09:00
misyaguziya
bf7d2e61a7 [Update] 翻訳者クラスにLM StudioおよびOllamaの接続状態を管理する機能を追加 2026-01-10 23:50:36 +09:00
misyaguziya
2d7f9b35ad Merge branch 'copy_and_paste' into develop
# Conflicts:
#	src-python/config.py
#	src-python/model.py
2026-01-10 02:19:01 +09:00
misyaguziya
c2a906fca8 [Update] クリップボード機能の強化: VRモニタリングをバックグラウンドスレッドで実行し、機能の有効化/無効化を追加 2026-01-10 02:13:20 +09:00
misyaguziya
1bbc9e6182 feat: テレメトリ設定のプロパティ名を変更し、APIを追加してテレメトリの有効化/無効化を管理 2026-01-09 23:49:39 +09:00
misyaguziya
19af0ea918 refactor: 不要なシャットダウン処理を削除し、アプリ終了時のテレメトリ送信を簡素化 2026-01-09 22:30:01 +09:00
misyaguziya
7336d01469 [Update] クリップボード機能の統合: コピーおよびペーストの設定を一つのプロパティにまとめ、関連するメソッドを整理 2026-01-09 19:35:55 +09:00
misyaguziya
4b29b283a1 Merge branch 'develop' into copy_and_paste 2026-01-09 19:18:58 +09:00
misyaguziya
d4a5a1ca6f 一旦フロントエンドまで接続 2026-01-09 10:00:33 +09:00
misyaguziya
d157dc8b7b feat: テレメトリ機能を追加し、アプリの起動・終了時にイベントを送信するように変更 2026-01-08 09:16:18 +09:00
misyaguziya
4eb61fa4b7 feat: アプリ終了時の app_closed イベント処理を追加 2026-01-05 22:38:17 +09:00
misyaguziya
300c0d4648 feat: テレメトリ実装設計書を追加 2026-01-05 21:55:45 +09:00
misyaguziya
c60995a0fe [Update] 初期化プロセスのログ出力を整理し、不要な時間計測を削除 2026-01-04 14:58:02 +09:00
misyaguziya
dd1c47069c [Update] エラーハンドリングの構造を統一し、VRAM不足や接続エラーの通知方法を改善 2026-01-03 09:48:14 +09:00
misyaguziya
312999a50b [Update] Optimize initialization process: reduce startup time, implement caching for model weight checks, and enhance parallel processing for AI model checks. 2026-01-03 08:35:39 +09:00
misyaguziya
b0cf8bf335 feat: Implement unified error handling system
- Added `errors.py` to define a centralized error management system with error codes and metadata.
- Created `VRCTError` class for generating standardized error responses.
- Introduced `error_handling_migration_guide.md` to document migration patterns for existing error handling to the new system.
- Updated error handling patterns in the codebase to utilize the new error management system.
2026-01-02 19:38:06 +09:00
misyaguziya
01061cf98f [Fix] Error Handling: Update setter methods to clarify None value handling and enhance authentication failure response policy. 2025-12-30 07:52:08 +09:00
misyaguziya
588b95eebe [Fix] Error Handling: Update setter methods to allow None values for type checks and enhance sensitive data handling in authentication failures. 2025-12-30 06:44:15 +09:00
misyaguziya
6014c2d362 [Fix] Error Handling: Refactor authentication response handling to avoid exposing sensitive data. 2025-12-30 06:07:46 +09:00
misyaguziya
4031a5556d [Fix] Error Handling: Update authentication check to use OpenRouter API for key validation. 2025-12-29 19:15:08 +09:00
misyaguziya
bf1c0236b5 [Fix] Error Handling: Improve network disconnection handling and enhance logging mechanisms. 2025-12-29 16:27:27 +09:00
misyaguziya
063b79477f [Fix] Error Handling: Enhance authentication checks and add support for Groq and OpenRouter models. 2025-12-26 05:30:37 +09:00
misyaguziya
97ea17f649 docs: Remove obsolete URL properties from Config class 2025-12-16 18:10:42 +09:00
misyaguziya
dac903e07c feat: Implement translation prompt history injection for Chat/Mic/Speaker
- Added a history management system in model.py to store and retrieve recent messages from Chat, Mic, and Speaker.
- Updated controller.py to automatically add messages to the translation history after processing.
- Enhanced translation clients (OpenAI, Gemini, Groq, etc.) to accept and utilize context history for improved translation quality.
- Introduced YAML configuration options for enabling history injection and customizing its behavior across different translation models.
- Ensured that only original messages are stored in history to optimize token usage during translation.
2025-12-15 01:15:47 +09:00
misyaguziya
9e88cff889 Refactor translation settings and prompts
- Updated paths for translation settings in backend.spec and backend_cuda.spec to reflect new directory structure.
- Renamed loadPromptConfig to loadTranslatePromptConfig in translation utility files for consistency.
- Created new YAML files for translation prompts (gemini, groq, lmstudio, ollama, openai, openrouter, plamo) with standardized system prompts.
- Added languages.yml file to define language mappings for various translation backends.
2025-12-14 16:10:40 +09:00
misyaguziya
86a6de75ae [Add] Implement clipboard control functions in Controller class 2025-12-11 14:38:08 +09:00
misyaguziya
c2cd5ee973 [Add] Documentation: Integrate Groq and OpenRouter API support, including model management and authentication details. 2025-12-11 14:16:02 +09:00
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
592149afed Merge branch 'build' into develop 2025-11-25 21:47:14 +09:00
misyaguziya
ea4863f195 入れ込み忘れを修正 2025-11-25 18:43:16 +09:00
misyaguziya
ff6ac43fee [Update] Build scripts and configuration: Added new build and install scripts, updated versioning in config files, and improved project structure. 2025-11-25 12:20:55 +09:00
misyaguziya
54ec5ba45d [Update] バージョン管理: package.json, tauri.conf.json, config.pyのバージョンを更新し、update_version.pyを追加 2025-11-25 00:22:23 +09:00
misyaguziya
9a35577ec6 [Update] Controller: Add methods for LMStudio and Ollama connection status checks 2025-11-24 18:01:30 +09:00
misyaguziya
5ca809c8dd [Update] Config: Add model revalidation logic to ensure selected models are valid based on available options. 2025-11-23 00:59:09 +09:00
misyaguziya
add96c1fda [Update] Config: Enhance configuration persistence by filtering serializable properties and updating loading logic for managed properties. 2025-11-23 00:07:32 +09:00
misyaguziya
27b3006ffd [Update] Controller: Add error handling for empty translation model lists and improve logging for translation engine availability checks. 2025-11-20 01:38:50 +09:00
misyaguziya
4eac9654a7 clipboard機能のパイプラインを接続 2025-11-20 00:25:28 +09:00
misyaguziya
3cd37cf458 [Add] Implement clipboard functionality with support for Windows, Pyperclip, and Tkinter 2025-11-17 17:01:09 +09:00
misyaguziya
877f4cefa9 [Fix] Update configuration handling to improve stability and error management 2025-11-14 11:26:33 +09:00
misyaguziya
bc6798714d [Fix] Improve OpenAI authentication handling and error response 2025-11-14 10:42:40 +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
cfc0e9fcc4 [Feature] Add VAD parameters and no-repeat N-gram size to Config and AudioTranscriber 2025-11-12 12:42:04 +09:00
misyaguziya
3af594960a test_endpoints.py と docs/test_endpoints.md を追加: APIエンドポイント総合テストモジュールを実装・文書化
- 新規: src-python/test_endpoints.py を追加。メインループ統合の総合テストモジュールを実装
  - /set/data/* の動的値を実行時に /get/data/... から取得して self.config_dict にキャッシュしてから選択する方式を導入
  - main_instance の start()/controller.init() 呼び出しと、Watchdog 用の no-op コールバック設定を追加
  - main.mapping のすべての status を True に設定してテスト対象を列挙
  - /set/enable /set/disable /set/data /run /delete/data の個別テスト実装(single/all/random/specific パターン)
  - LLM/API 関連(plamo/gemini/openai/lmstudio/ollama 等)のモデルリスト取得・ランダム選択、認証キー/URL 系は期待ステータスに [200,400] を設定
  - マイク/スピーカー等の検証(閾値・タイムアウト)で不正値時に期待ステータスを [400] にするバリデーション追加
  - 実行系エンドポイント(/run/*)のテスト実装、テスト不能な操作は [401] でスキップ扱い
  - ランダムアクセステスト(全体/ON-OFF/特定セット)を実装
  - 翻訳の総当たりテスト機能と結果を translation_test_results.json に出力
  - テスト結果を収集する record_test_result と generate_summary によるサマリー出力を実装
  - 実行中のデバッグログ出力やスキップ/エラー時の詳細ログを追加

- 新規: src-python/docs/test_endpoints.md を追加。上記モジュールの目的・使用方法・取得/キャッシュ戦略・対象エンドポイント一覧などを文書化

目的: API エンドポイントの包括的な自動テスト基盤を整備し、動的値取得による安定化・LLM/API の接続挙動検査・ランダム負荷試験を容易にする
2025-10-30 22:03:37 +09:00