Skip to content

[computer-use-demo] Add prompt caching #52

[computer-use-demo] Add prompt caching

[computer-use-demo] Add prompt caching #52

Triggered via pull request October 23, 2024 01:28
Status Failure
Total duration 1m 2s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
pyright: computer-use-demo/computer_use_demo/loop.py#L119
Argument of type "BetaContentBlockParam | dict[str, object]" cannot be assigned to parameter "object" of type "BetaContentBlockParam" in function "append"   Type "BetaContentBlockParam | dict[str, object]" is not assignable to type "BetaContentBlockParam"     Type "dict[str, object]" is not assignable to type "BetaContentBlockParam"       "dict[str, object]" is not assignable to "BetaTextBlockParam"       "dict[str, object]" is not assignable to "BetaImageBlockParam"       "dict[str, object]" is not assignable to "BetaToolUseBlockParam"       "dict[str, object]" is not assignable to "BetaToolResultBlockParam" (reportArgumentType)
pyright: computer-use-demo/computer_use_demo/loop.py#L120
Could not assign item in TypedDict   Type "dict[str, str]" is not assignable to type "BetaCacheControlEphemeralParam | None"     "dict[str, str]" is not assignable to "BetaCacheControlEphemeralParam"     "dict[str, str]" is not assignable to "None" (reportGeneralTypeIssues)
pyright
2 errors
pyright
The following actions use a deprecated Node.js version and will be forced to run on node20: jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/