mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 04:19:57 -06:00
added kwarg filter
This commit is contained in:
@@ -68,7 +68,6 @@ class OperatorNormalizerCallback(AsyncCallbackHandler):
|
||||
keys = action.get("keys")
|
||||
if isinstance(keys, str):
|
||||
action["keys"] = keys.replace("-", "+").split("+") if len(keys) > 1 else [keys]
|
||||
# put here for: "please replace _remove_keys with _keep_keys and only keep the keys that are required"
|
||||
required_keys_by_type = {
|
||||
# OpenAI actions
|
||||
"click": ["type", "button", "x", "y"],
|
||||
|
||||
Reference in New Issue
Block a user