LM Studio と Ollama の翻訳クライアントとプロンプトを追加、requirements に langchain-ollama を追記

- src-python/models/translation に LM Studio 用 (translation_lmstudio.py / translation_lmstudio.yml) を追加
- Ollama 用クライアント (translation_ollama.py / translation_ollama.yml) を追加
- 各クライアントでプロンプト YAML から system_prompt / supported_languages を読み込み、認証チェック・モデル一覧取得・モデル設定・クライアント更新・translate 呼び出しを実装
- requirements.txt と requirements_cuda.txt に langchain-ollama==0.3.10 を追記
This commit is contained in:
misyaguziya
2025-10-17 15:58:50 +09:00
parent c18748f6bc
commit 965bee818a
6 changed files with 337 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ langchain-openai==0.3.32
langchain-google-genai==2.1.10
google-genai==1.45.0
grpcio==1.67.1
langchain-ollama==0.3.10
SudachiPy==0.6.10
SudachiDict-core==20250825
SudachiDict-full==20250825