[computer-use-demo] Add prompt caching #53
Annotations
2 errors and 1 warning
pyright:
computer-use-demo/computer_use_demo/loop.py#L120
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
1 error
|
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/
|