Skip to content

Feat Implement lingoose threads #336

Feat Implement lingoose threads

Feat Implement lingoose threads #336

Triggered via pull request December 21, 2023 09:24
Status Failure
Total duration 45s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint: llm/openai/formatters.go#L8
cognitive complexity 21 of func `threadToChatCompletionMessages` is high (> 20) (gocognit)
lint: llm/openai/formatters.go#L66
missing cases in switch of type thread.ContentType: thread.ContentTypeToolCall, thread.ContentTypeToolResponse (exhaustive)
lint: llm/openai/formatters.go#L30
shadow: declaration of "ok" shadows declaration at line 28 (govet)
lint: llm/openai/legacy.go#L283
SA1019: chatCompletionRequest.Functions is deprecated: use Tools instead. (staticcheck)
lint
issues found
lint: llm/openai/legacy.go#L19
exported: type name will be used as openai.OpenAILegacy by other packages, and that stutters; consider calling this Legacy (revive)