Skip to content

Commit

Permalink
aujdio
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Oct 24, 2024
1 parent 3f4a2a2 commit 2886390
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions backend/backend.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ message Reply {
bytes message = 1;
int32 tokens = 2;
int32 prompt_tokens = 3;
string audio_output = 4;
}

message ModelOptions {
Expand Down
5 changes: 3 additions & 2 deletions core/backend/llm.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,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 {
Expand Down

0 comments on commit 2886390

Please sign in to comment.