@@ -317,6 +317,7 @@ func (p *pipeline) handleInjectAction(ctx context.Context, recorder recording.Re
|
||||
RemoveFillerWords: llmCfg.RemoveFillerWords,
|
||||
CustomPrompt: llmCfg.CustomPrompt,
|
||||
Keywords: llmCfg.Keywords,
|
||||
BaseURL: llmCfg.BaseURL,
|
||||
})
|
||||
if err != nil {
|
||||
log.Printf("Pipeline: Failed to create LLM adapter: %v, using raw transcription", err)
|
||||
@@ -343,7 +344,6 @@ func (p *pipeline) handleInjectAction(ctx context.Context, recorder recording.Re
|
||||
}
|
||||
return r
|
||||
}, textToInject)
|
||||
|
||||
injector := p.injectorFactory(p.config.ToInjectionConfig())
|
||||
|
||||
if err := injector.Inject(ctx, textToInject); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user