Skip to content

Commit ff4d73e

Browse files
committed
Remove unreachable code
1 parent e618ed9 commit ff4d73e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/eval/eval.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,6 @@ func (h *evalCommandHandler) callModelWithRetry(ctx context.Context, req azuremo
381381

382382
return strings.TrimSpace(content.String()), nil
383383
}
384-
385-
// This should never be reached, but just in case
386-
return "", errors.New("unexpected error calling model")
387384
}
388385

389386
func (h *evalCommandHandler) callModel(ctx context.Context, messages []azuremodels.ChatMessage) (string, error) {

0 commit comments

Comments
 (0)