misyaguziya
bf7d2e61a7
[Update] 翻訳者クラスにLM StudioおよびOllamaの接続状態を管理する機能を追加
2026-01-10 23:50:36 +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
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
ea4863f195
入れ込み忘れを修正
2025-11-25 18:43:16 +09:00
misyaguziya
9a35577ec6
[Update] Controller: Add methods for LMStudio and Ollama connection status checks
2025-11-24 18:01:30 +09:00
misyaguziya
7e7b3505a1
LMStudio と Ollama の翻訳バックエンドを追加・統合。
...
- config: SELECTABLE_/SELECTED_ の LMStudio/Ollama 項目と LMSTUDIO_URL を追加。
- Controller: LMStudio/Ollama の認証チェック、URL取得/設定、モデル一覧取得/設定のエンドポイントを実装。
- Model/Translator: LMStudio/Ollama 用の認証・モデル一覧・モデル設定・クライアント更新メソッドを追加し、翻訳処理の選択肢に対応。
- translation_* クライアント: 各クライアントでのプロンプト読み込み処理を共通化し、translation_utils.loadPromptConfig を利用するようにリファクタ。
- translation_languages: LMStudio/Ollama 用の言語マッピングを追加。
2025-10-17 21:48:44 +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
f8466bd6e4
翻訳APIの認証ロジックを改善し、YAMLファイルからプロンプト設定を読み込む機能を追加。新しいフォントファイルを追加し、データパスを更新。
2025-10-15 18:50:26 +09:00
misyaguziya
7d0f63c118
CTranslate2に対応する翻訳言語の設定を追加し、翻訳ロジックを更新
2025-10-14 23:15:49 +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
b26129af68
翻訳モジュールのドキュメントを更新し、セットアップ手順やAPI使用例を追加。型注釈を強化し、関数の戻り値を明示化。エラーハンドリングを改善し、コードの可読性を向上。
2025-10-09 17:30:48 +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
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
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
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
a619cd6114
[update] Upgrade deepl package version to 1.22.0 and refactor translation code to use DeepLClient
2025-05-15 12:38:54 +09:00
misyaguziya
78d79f4a54
🐛 [bugfix] controller: offline時の処理を追加
2025-02-06 18:29:07 +09:00
misyaguziya
567907fc4d
🐛 [bugfix] Model : Added the ability to automatically select calculation types from GPU devices
2025-01-02 08:32:35 +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
misyaguziya
af3fe1f0f9
👍 ️[Update] Model: cpu/cudaをtranslationもしくはtranscriptionで選択できるように実装
2024-10-23 13:41:34 +09:00
misyaguziya
5ba595cefe
🚧 [WIP/TEST] Model : CUDAでの処理実装 part 1
2024-10-18 16:16:42 +09:00
misyaguziya
c724f7d7ae
👍 ️[Update] Model : import のパスを修正
2024-09-01 17:59:07 +09:00
misyaguziya
4c2e4a6e04
👍 ️[Update] Model : status 348のlog を printLog関数に集約
2024-09-01 17:33:22 +09:00
misyaguziya
6886241154
👍 ️[Update] Model : FutureWarningが出るのでignoreで対応
...
huggingface_hub\file_download.py:1150: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
2024-08-31 16:10:00 +09:00
misyaguziya
633cdf246c
👍 ️[Update] Models : change print log to json format log
2024-08-11 13:51:48 +09:00
misyaguziya
1be04cb571
👍 ️ [Update] pythonのメイン処理部分を移動/webui_mainloop.pyをビルドできるように修正
2024-07-27 01:30:36 +09:00