style: gofmt + fix copylocks lint warning
Some checks failed
CI / Test (push) Successful in 2m49s
CI / Lint (push) Successful in 3m16s
CI / Release (push) Successful in 2m8s
CI / Docker Build & Push (push) Failing after 6m13s
CI / Notify (push) Successful in 1s

This commit is contained in:
2026-02-21 15:36:46 -05:00
parent e2176331c8
commit f61488a868
2 changed files with 7 additions and 7 deletions

View File

@@ -169,13 +169,13 @@ func TestChatPipeline_LLMTimeout(t *testing.T) {
func TestChatPipeline_TypedDecoding(t *testing.T) {
// Verify typed struct decoding from proto (same path as OnTypedMessage).
original := &messages.ChatRequest{
RequestId: "req-e2e-001",
UserId: "user-1",
Message: "hello",
Premium: true,
EnableRag: false,
RequestId: "req-e2e-001",
UserId: "user-1",
Message: "hello",
Premium: true,
EnableRag: false,
EnableStreaming: false,
SystemPrompt: "Be brief.",
SystemPrompt: "Be brief.",
}
data, _ := proto.Marshal(original)

View File

@@ -55,7 +55,7 @@ func TestChatResponseRoundtrip(t *testing.T) {
t.Fatal(err)
}
if decoded.UserId != "user-1" || !decoded.Success {
t.Errorf("decoded = %+v", decoded)
t.Errorf("decoded: UserId=%s, Success=%v", decoded.UserId, decoded.Success)
}
if len(decoded.Audio) != 3 {
t.Errorf("audio len = %d", len(decoded.Audio))