mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix OpenRouter url
This commit is contained in:
parent
024e4d4b55
commit
85582d5970
@ -6,6 +6,7 @@
|
|||||||
* Add "Pixel format" paramter to burn-in - thx Hafran420
|
* Add "Pixel format" paramter to burn-in - thx Hafran420
|
||||||
* Add new ChatGPT "gpt-4o-mini" model
|
* Add new ChatGPT "gpt-4o-mini" model
|
||||||
* Add translation via Groq (api.groq.com)
|
* Add translation via Groq (api.groq.com)
|
||||||
|
* Add translation via OpenRouter - thx Nikodim
|
||||||
* IMPROVED:
|
* IMPROVED:
|
||||||
* Update Chinese translation - thx nkh0472
|
* Update Chinese translation - thx nkh0472
|
||||||
* Update Italian translation - thx bovirus
|
* Update Italian translation - thx bovirus
|
||||||
|
@ -470,7 +470,7 @@ namespace Nikse.SubtitleEdit.Core.Settings
|
|||||||
GroqUrl = "https://api.groq.com/openai/v1/chat/completions";
|
GroqUrl = "https://api.groq.com/openai/v1/chat/completions";
|
||||||
GroqPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
GroqPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
||||||
GroqModel = GroqTranslate.Models[0];
|
GroqModel = GroqTranslate.Models[0];
|
||||||
OpenRouterUrl = "https://api.groq.com/openai/v1/chat/completions";
|
OpenRouterUrl = "https://openrouter.ai/api/v1/chat/completions";
|
||||||
OpenRouterPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
OpenRouterPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
||||||
OpenRouterModel = OpenRouterTranslate.Models[0];
|
OpenRouterModel = OpenRouterTranslate.Models[0];
|
||||||
LmStudioPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
LmStudioPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
|
||||||
|
Loading…
Reference in New Issue
Block a user