aether_secure

Attribute Macro aether_secure 

Source
#[aether_secure]
Expand description

Transform a function into a secure, polymorphic AI-powered runtime call.

This macro removes the function body and replaces it with logic that:

  1. Fetches a script from AI at runtime.
  2. Executes it using the AetherRuntime (Rhai).

§Example

#[aether_secure(prompt = "Calculate complex score based on inputs", temp = 0.0)]
fn calculate_score(a: i64, b: i64) -> i64;