Skip to content

Support anthropic prompt caching by introducing new parameters in text part #2217

Support anthropic prompt caching by introducing new parameters in text part

Support anthropic prompt caching by introducing new parameters in text part #2217

Triggered via pull request August 23, 2024 01:35
Status Failure
Total duration 2m 29s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
build-examples
too few values in struct literal of type TextContent
build-examples
Process completed with exit code 2.
build-test: llms/llms.go#L38
too few values in struct literal of type TextContent
build-test
Process completed with exit code 1.
lint: schema/chat_message_history.go#L6
could not import github.com/tmc/langchaingo/llms (-: # github.com/tmc/langchaingo/llms
lint: llms/llms.go#L38
too few values in struct literal of type TextContent) (typecheck)
lint: llms/huggingface/huggingfacellm.go#L9
could not import github.com/tmc/langchaingo/llms (-: # github.com/tmc/langchaingo/llms
lint: llms/llms.go#L38
too few values in struct literal of type TextContent) (typecheck)
lint: memory/sqlite3/sqlite3_history.go#L12
could not import github.com/tmc/langchaingo/llms (-: # github.com/tmc/langchaingo/llms
lint: llms/llms.go#L38
too few values in struct literal of type TextContent) (typecheck)
lint: llms/bedrock/bedrockllm.go#L5
"errors" imported and not used (typecheck)
lint: llms/cloudflare/cloudflarellm.go#L89
foundText declared and not used (typecheck)
lint: agents/openai_functions_agent.go#L97
role declared and not used (typecheck)
lint: agents/openai_functions_agent.go#L98
text declared and not used (typecheck)
build-examples
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test
Restore cache failed: Dependencies file is not found in /home/runner/work/langchaingo/langchaingo. Supported file pattern: go.sum