Created openai compatiable support #39
Annotations
8 errors
|
Run golangci-lint
issues found
|
|
Run golangci-lint:
llm/openaicompat.go#L145
"POST" can be replaced by http.MethodPost (usestdlibvars)
|
|
Run golangci-lint:
llm/openaicompat.go#L19
var-naming: struct field BaseUrl should be BaseURL (revive)
|
|
Run golangci-lint:
llm/openaicompat.go#L61
Comment should end in a period (godot)
|
|
Run golangci-lint:
llm/openaicompat.go#L45
Comment should end in a period (godot)
|
|
Run golangci-lint:
llm/openaicompat.go#L39
Comment should end in a period (godot)
|
|
Run golangci-lint:
llm/openaicompat.go#L74
string `assistant` has 3 occurrences, make it a constant (goconst)
|
|
Run golangci-lint:
llm/openaicompat.go#L72
string `user` has 3 occurrences, make it a constant (goconst)
|
Loading