Fix lint errors: handle errors, use fmt.Fprintf, apply De Morgan's law, use switch statements
Amp-Thread-ID: https://ampcode.com/threads/T-afcf56b0-a8bc-4310-bb59-1b63e1d70c89 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -22,6 +22,7 @@ const (
|
||||
initialBackoff = 1 * time.Second
|
||||
)
|
||||
|
||||
// ErrAPIKeyRequired is returned when an API key is needed but not provided.
|
||||
var ErrAPIKeyRequired = errors.New("API key required")
|
||||
|
||||
// HaikuClient wraps the Anthropic API for issue summarization.
|
||||
|
||||
Reference in New Issue
Block a user