feat: switch llm to local ollama qwen3

This commit is contained in:
2026-04-30 02:53:00 +09:00
parent 23bc534b23
commit 24aa58fc42
12 changed files with 136 additions and 91 deletions

View File

@@ -24,7 +24,7 @@ import { float32ToPcm16Buffer, int16ArrayToFloat32, Stereo48kToMono16kDownsample
import { ConversationMemory, type UserUtterance } from "../services/conversation.js";
import { ElevenLabsSttService } from "../services/elevenlabs-stt.js";
import { ElevenLabsTtsService, type PreparedSpeechAudio } from "../services/elevenlabs-tts.js";
import { OpenAiLlmService } from "../services/openai-llm.js";
import type { LlmService } from "../services/llm.js";
interface GuildVoiceSessionOptions {
client: Client;
@@ -35,7 +35,7 @@ interface GuildVoiceSessionOptions {
textChannelId?: string;
stt: ElevenLabsSttService;
tts: ElevenLabsTtsService;
llm: OpenAiLlmService;
llm: LlmService;
}
interface SpeechJob {