You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn_add_parser.add_argument("--logs", choices=["enabled", "disabled"], default=None, help="Enable or disable logs for the function.")
70
72
fn_add_parser.add_argument("--execution-api-key", required=False, default="", help="API key for execution (for server functions only).")
71
73
fn_add_parser.add_argument("--disable-ai", "--skip-generate", action="store_true", help="Pass --disable-ai skip AI generation of missing descriptions")
74
+
fn_add_parser.add_argument("--generate-contexts", type=str, help="Server function only – only include certain contexts to speed up function execution")
72
75
73
76
defadd_function(args):
74
77
initialize_config()
@@ -80,6 +83,8 @@ def add_function(args):
80
83
err="You must specify `--server` or `--client`."
81
84
eliflogs_enabledandnotargs.server:
82
85
err="Option `logs` is only for server functions (--server)."
86
+
elifargs.generate_contextsandnotargs.server:
87
+
err="Option `generate-contexts` is only for server functions (--server)."
0 commit comments