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 {