Skip to content

examples: add vision support and example #761

examples: add vision support and example

examples: add vision support and example #761

Triggered via push November 21, 2023 03:58
Status Failure
Total duration 1m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
lint: llms/openai/internal/openaiclient/chat.go#L169
Error return value of `io.Copy` is not checked (errcheck)
lint: llms/openai/internal/openaiclient/chat.go#L147
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: llms/openai/openaillm_chat.go#L180
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: llms/openai/internal/openaiclient/chat.go#L232
line is 137 characters (lll)
lint: schema/chat_messages.go#L130
Error return value of `encoding/json.Marshal` is not checked: unsafe type `github.com/tmc/langchaingo/schema.ChatMessageContentPart` found (errchkjson)
lint: llms/openai/internal/openaiclient/chat.go#L168
ineffectual assignment to err (ineffassign)
lint
issues found
build-examples
undefined: schema.CompoundChatMessage
build-examples
undefined: schema.ChatMessageContentPart
build-examples
undefined: schema.ChatMessageContentPartText
build-examples
undefined: schema.ChatMessageContentPartImage
build-examples
undefined: schema.ChatMessageContentPartImageURL
build-examples
Process completed with exit code 2.
build-test
Restore cache failed: Dependencies file is not found in /home/runner/work/langchaingo/langchaingo. Supported file pattern: go.sum