style: gofmt + fix errcheck lint warning
This commit is contained in:
@@ -563,7 +563,7 @@ func TestLLMClient_StreamGenerateManyTokens(t *testing.T) {
|
||||
var order []int
|
||||
result, err := c.StreamGenerate(context.Background(), "q", "", "", func(tok string) {
|
||||
var idx int
|
||||
fmt.Sscanf(tok, "t%d ", &idx)
|
||||
_, _ = fmt.Sscanf(tok, "t%d ", &idx)
|
||||
mu.Lock()
|
||||
order = append(order, idx)
|
||||
mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user