Skip to content

chains: simplesequentialchain and sequentialchain implementation #359

chains: simplesequentialchain and sequentialchain implementation

chains: simplesequentialchain and sequentialchain implementation #359

Triggered via pull request July 21, 2023 13:15
Status Failure
Total duration 3m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
build-test: chains/map_rerank_documents_test.go#L16
cannot use testLanguageModel{} (value of type testLanguageModel) as llms.LanguageModel value in argument to NewLLMChain: testLanguageModel does not implement llms.LanguageModel (method GeneratePrompt has pointer receiver)
build-test: chains/map_rerank_documents_test.go#L36
cannot use testLanguageModel{} (value of type testLanguageModel) as llms.LanguageModel value in argument to NewLLMChain: testLanguageModel does not implement llms.LanguageModel (method GeneratePrompt has pointer receiver)
build-test
Process completed with exit code 1.
lint: chains/api.go#L1
: # github.com/tmc/langchaingo/chains [github.com/tmc/langchaingo/chains.test]
lint: chains/map_rerank_documents_test.go#L16
cannot use testLanguageModel{} (value of type testLanguageModel) as llms.LanguageModel value in argument to NewLLMChain: testLanguageModel does not implement llms.LanguageModel (method GeneratePrompt has pointer receiver)
lint: chains/map_rerank_documents_test.go#L36
cannot use testLanguageModel{} (value of type testLanguageModel) as llms.LanguageModel value in argument to NewLLMChain: testLanguageModel does not implement llms.LanguageModel (method GeneratePrompt has pointer receiver) (typecheck)
lint
issues found
build-test
Restore cache failed: Dependencies file is not found in /home/runner/work/langchaingo/langchaingo. Supported file pattern: go.sum