Skip to content

#42 init router config #74

#42 init router config

#42 init router config #74

Triggered via pull request December 31, 2023 12:51
Status Failure
Total duration 53s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 1 warning
Build: pkg/providers/openai/chat.go#L58
cannot use request.MessageHistory (variable of type []string) as []map[string]string value in argument to append
Build: pkg/providers/openai/chat.go#L61
cannot use request.Message (variable of type []struct{Role string "json:\"role\""; Content string "json:\"content\""}) as map[string]string value in argument to append
Build: pkg/providers/openai/chat.go#L64
defaultParams declared and not used
Build: pkg/providers/openai/chat.go#L64
undefined: u
Build
Process completed with exit code 1.
Lint: pkg/providers/openai/chat.go#L58
cannot use request.MessageHistory (variable of type []string) as []map[string]string value in argument to append
Lint: pkg/providers/openai/chat.go#L61
cannot use request.Message (variable of type []struct{Role string "json:\"role\""; Content string "json:\"content\""}) as map[string]string value in argument to append
Lint: pkg/providers/openai/chat.go#L64
defaultParams declared and not used
Lint: pkg/providers/openai/chat.go#L64
undefined: u
Lint
Process completed with exit code 1.
Tests: pkg/providers/openai/chat.go#L58
cannot use request.MessageHistory (variable of type []string) as []map[string]string value in argument to append
Tests: pkg/providers/openai/chat.go#L61
cannot use request.Message (variable of type []struct{Role string "json:\"role\""; Content string "json:\"content\""}) as map[string]string value in argument to append
Tests: pkg/providers/openai/chat.go#L64
defaultParams declared and not used
Tests: pkg/providers/openai/chat.go#L64
undefined: u
Tests
Process completed with exit code 1.
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Cannot open: File exists
Static Checks
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2