<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_message(self, options):
 """ Sends a message to the wandb process changing the policy of saved files. This is primarily used internally by wandb.save """

        if not options.get("save_policy"):
            raise ValueError("Only configuring save_policy is supported")
        if self.socket:
            self.socket.send(options)
        elif self._jupyter_agent:
            self._jupyter_agent.start()
            self._jupyter_agent.rm.update_user_file_policy(
                options["save_policy"])
        else:
            wandb.termerror(
                "wandb.init hasn't been called, can't configure run")