From 9b6826d5ffa4c7260b24e60d4c0429338f40443f Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 18 Oct 2024 18:19:42 +0200 Subject: [PATCH] aujdio Signed-off-by: Ettore Di Giacinto --- backend/backend.proto | 1 + core/backend/llm.go | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/backend.proto b/backend/backend.proto index 0a341ca2..3137be09 100644 --- a/backend/backend.proto +++ b/backend/backend.proto @@ -159,6 +159,7 @@ message Reply { bytes message = 1; int32 tokens = 2; int32 prompt_tokens = 3; + string audio_output = 4; } message ModelOptions { diff --git a/core/backend/llm.go b/core/backend/llm.go index 9a4d0d46..35042117 100644 --- a/core/backend/llm.go +++ b/core/backend/llm.go @@ -22,8 +22,9 @@ import ( ) type LLMResponse struct { - Response string // should this be []byte? - Usage TokenUsage + Response string // should this be []byte? + Usage TokenUsage + AudioOutput string } type TokenUsage struct {