使得其成为Amrita插件 #1
Annotations
2 errors
|
check
1 error
|
|
check:
amrita_plugin_omikuji/utils.py#L79
Argument of type "list[dict[str, str]]" cannot be assigned to parameter "messages" of type "Iterable[Message[Unknown] | ToolResult]" in function "tools_caller"
"list[dict[str, str]]" is not assignable to "Iterable[Message[Unknown] | ToolResult]"
Type parameter "_T_co@Iterable" is covariant, but "dict[str, str]" is not a subtype of "Message[Unknown] | ToolResult"
Type "dict[str, str]" is not assignable to type "Message[Unknown] | ToolResult"
"dict[str, str]" is not assignable to "Message[Unknown]"
"dict[str, str]" is not assignable to "ToolResult" (reportArgumentType)
|