Updates an existing assistant's instructions and/or metadata.
Examples
if (FALSE) { # \dontrun{
# Update instructions only
update_assistant(
assistant_name = "my-assistant",
instructions = "Use Australian English spelling and vocabulary."
)
# Update metadata only
update_assistant(
assistant_name = "my-assistant",
metadata = list(version = "2.0", updated = "2024-01-01")
)
# Update both
update_assistant(
assistant_name = "my-assistant",
instructions = "Be concise in responses.",
metadata = list(team = "support")
)
} # }