feat: Introduce an OpenAI-compatible client to replace the Groq-specific client and enable multiple LLM providers.
This commit is contained in:
@@ -3,6 +3,8 @@ namespace Toak.Configuration;
|
||||
public class ToakConfig
|
||||
{
|
||||
public string GroqApiKey { get; set; } = string.Empty;
|
||||
public string TogetherApiKey { get; set; } = string.Empty;
|
||||
public string LlmProvider { get; set; } = "groq"; // groq or together
|
||||
public string TypingBackend { get; set; } = "xdotool"; // wtype or xdotool
|
||||
public string AudioBackend { get; set; } = "pw-record"; // pw-record or ffmpeg
|
||||
public bool ModulePunctuation { get; set; } = true;
|
||||
@@ -10,6 +12,7 @@ public class ToakConfig
|
||||
|
||||
public string WhisperLanguage { get; set; } = string.Empty;
|
||||
public string LlmModel { get; set; } = Toak.Core.Constants.Defaults.LlmModel;
|
||||
public string ReasoningEffort { get; set; } = "none"; // none or low
|
||||
public string WhisperModel { get; set; } = Toak.Core.Constants.Defaults.WhisperModel;
|
||||
public string StartSoundPath { get; set; } = "Assets/Audio/beep.wav";
|
||||
public string StopSoundPath { get; set; } = "Assets/Audio/beep.wav";
|
||||
|
||||
Reference in New Issue
Block a user