WIP: openai support custom assistant/GPT #1155
Annotations
10 errors and 10 warnings
golangci-lint:
command/openai/assistant.go#L86
Error return value of `storage.Read` is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L94
Error return value of `storage.Write` is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L99
Error return value is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L140
Error return value of `c.sendImageInSlack` is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L145
Error return value is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L271
Error return value of `json.Unmarshal` is not checked (errcheck)
|
golangci-lint:
command/openai/command.go#L158
Error return value of `storage.Read` is not checked (errcheck)
|
golangci-lint:
command/openai/assistant.go#L229
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
command/openai/assistant.go#L5
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
command/openai/assistant.go#L9
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
command/openai/command.go#L157
var-naming: var threadId should be threadID (revive)
|
golangci-lint:
command/openai/assistant.go#L16
var-naming: struct field Id should be ID (revive)
|
golangci-lint:
command/openai/assistant.go#L19
var-naming: struct field AssistantId should be AssistantID (revive)
|
golangci-lint:
command/openai/assistant.go#L23
var-naming: struct field Id should be ID (revive)
|
golangci-lint:
command/openai/assistant.go#L25
var-naming: struct field ThreadId should be ThreadID (revive)
|
golangci-lint:
command/openai/assistant.go#L33
var-naming: struct field Id should be ID (revive)
|
golangci-lint:
command/openai/assistant.go#L62
var-naming: struct field RunId should be RunID (revive)
|
golangci-lint:
command/openai/assistant.go#L70
var-naming: struct field ToolCallId should be ToolCallID (revive)
|
golangci-lint:
command/openai/assistant.go#L84
var-naming: var threadId should be threadID (revive)
|
golangci-lint:
command/openai/assistant.go#L191
var-naming: func parameter threadId should be threadID (revive)
|
The logs for this run have expired and are no longer available.
Loading