ailoy-node
    Preparing search index...

    Function defineAgent

    • Define a new agent

      Parameters

      • runtime: Runtime

        The runtime environment associated with the agent

      • model: AiloyModel

        The name of the LLM model to use in this instance

      • Optionalargs: { systemMessage?: string }
        • OptionalsystemMessage?: string

          Optional system message to set the initial assistant context

      Returns Promise<Agent>